Adding a New Component Type
If you are ready to dive in and implement a new model type in this tool, here are the steps you should take!
Identify the model to be implemented, along with identifying the independent and dependent variables
Create a new skeleton derived class from an existing component type inside the
equipmentfolderGenerate example and test data, adding it to the
examples/folder, mimicking the existing structuresAdd entries to the classes and functions inside
equipment/equip_types.pyAdd an entry to the factory method in
equipment/manager.pyFully flesh out the equipment derived class, mimicking patterns and examples in other equipment
If there are model curve functions that can be reused by other classes, consider adding them to
common_curves.pyAdd branches and nodes to the main form in the
_build_treeviewfunction informs/main.py
That’s it!