Add libChiller class registry and equipment configuration
What
This MR adds IChiller to the class registry and equipment configuration.
Notes
- Add
listSupportedChillersexecutable - Add
ChillerRegistry{.h,.cpp}, including theREGISTER_CHILLERmacro - Changes to
IChillerinterface include:- Change constructor from
IChiller()toIChiller(const std::string& name, std::vector<std::string> models = {});, to be in line with the otherlibX's that are handled bylibEquipConfand the class registry mechanism - Add method
IChiller::setConfiguration(const nlohmann::json&) - Add member
std::string m_name - Add member
std::string m_type
- Change constructor from
- Changes to
HuberChiller:- Update the constructor from
HuberChiller()toHuberChiller(const std::string&) - Add call to
REGISTER_CHILLER(HuberChiller)
- Update the constructor from
- Changes to
PolySciLM:- Update the constructor from
PolySciLM()toPolySciLM(const std::string&) - Add call to
REGISTER_CHILLER(PolySciLM)
- Update the constructor from
- Add
EquipConf::getChiller(const std::string& name)method inlibEquipConf - Update the labRemote schema to reflect the supported
hw-typeto include"Chiller"as a valid option - Update the examples to reflect the handling of
IChillerinstances throughEquipConf::getChiller
Related Issues
Edited by Daniel Joseph Antrim