0.class外的函数——api_path
This function returns a string to the EnergyPlus dynamic library. The energyplusapi target in the build system depends on the Python API build script, so you shouldn't be able to generate the EnergyPlus dynamic library without these scripts being successfully set up in the build tree by CMake
这个函数向EnergyPlus动态库返回一个字符串。构建系统中的energyplusapi目标依赖于Python API构建脚本,所以如果没有CMake在构建树中成功设置这些脚本,你不应该能够生成EnergyPlus动态库
1. class——EnergyPlusAPI
This class exposes the EnergyPlus C Library API to Python. The API is split into three categories, and this class exposes each API category through member variables. If an instance of this class is created as `api = EnergyPlusAPI()`, then the following members are available:
该类向Python公开EnergyPlus C库API。API分为三个类别,该类通过成员变量公开每个API类别。如果这个类的实例被创建为' api = EnergyPlusAPI() ',