You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the user-defined plant component to accept a Python Plugin Instance for the plantInitializationProgramCallingManager as well as the plantSimulationProgramCallingManager. Additionally, if a Python Plugin Instance is specified, do not construct any default Energy Management System objects.
Detailed Description
Currently, the user-defined plant component only allows an Energy Management System Program Calling Manager for the plantInitializationProgramCallingManager and the plantSimulationProgramCallingManager. It also default constructs a number of Energy Management System actuators in addition to a two Energy Management System programs.
However, this does not allow a Python Plugin to be used to model the user-defined plant component. While the importance of these defaults and generating a running model is recognized, it would be beneficial to be able to bypass this functionality.
Possible Implementation
Overload the setPlantInitializationProgramCallingManager and setPlantSimulationProgramCallingManager methods to accept a Python Plugin Instance. If the setPlantInitializationProgramCallingManager method is used with a Python Plugin Instance, do not default construct a Plant Initialization Energy Management System Program or these actuators:
designVolumeFlowRateActuator
minimumMassFlowRateActuator
maximumMassFlowRateActuator
minimumLoadingCapacityActuator
maximumLoadingCapacityActuator
optimalLoadingCapacityActuator
Similarly, if the setPlantSimulationProgramCallingManager method is used with a Python Plugin Instance, do not default construct a Plant Simulation Energy Management System Program or these actuators:
outletTemperatureActuator
massFlowRateActuator
It is important to keep these split, sometimes it is convenient to keep one program in Python and the other in ERL.
The text was updated successfully, but these errors were encountered:
Enhancement Request
Modify the user-defined plant component to accept a Python Plugin Instance for the
plantInitializationProgramCallingManager
as well as theplantSimulationProgramCallingManager
. Additionally, if a Python Plugin Instance is specified, do not construct any default Energy Management System objects.Detailed Description
Currently, the user-defined plant component only allows an Energy Management System Program Calling Manager for the
plantInitializationProgramCallingManager
and theplantSimulationProgramCallingManager
. It also default constructs a number of Energy Management System actuators in addition to a two Energy Management System programs.However, this does not allow a Python Plugin to be used to model the user-defined plant component. While the importance of these defaults and generating a running model is recognized, it would be beneficial to be able to bypass this functionality.
Possible Implementation
Overload the
setPlantInitializationProgramCallingManager
andsetPlantSimulationProgramCallingManager
methods to accept a Python Plugin Instance. If thesetPlantInitializationProgramCallingManager
method is used with a Python Plugin Instance, do not default construct a Plant Initialization Energy Management System Program or these actuators:designVolumeFlowRateActuator
minimumMassFlowRateActuator
maximumMassFlowRateActuator
minimumLoadingCapacityActuator
maximumLoadingCapacityActuator
optimalLoadingCapacityActuator
Similarly, if the
setPlantSimulationProgramCallingManager
method is used with a Python Plugin Instance, do not default construct a Plant Simulation Energy Management System Program or these actuators:outletTemperatureActuator
massFlowRateActuator
It is important to keep these split, sometimes it is convenient to keep one program in Python and the other in ERL.
The text was updated successfully, but these errors were encountered: