Add libChiller class registry and equipment configuration
What
This MR adds IChiller
to the class registry and equipment configuration.
Notes
- Add
listSupportedChillers
executable - Add
ChillerRegistry{.h,.cpp}
, including theREGISTER_CHILLER
macro - Changes to
IChiller
interface 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 bylibEquipConf
and 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-type
to include"Chiller"
as a valid option - Update the examples to reflect the handling of
IChiller
instances throughEquipConf::getChiller
Related Issues
Edited by Daniel Joseph Antrim