modelControl_1
Controller for the CHP and heat pump and TES
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_max | 273.15 + 60 | Fill level of tank 1 |
| Modelica.Units.SI.Temperature | T_min | 273.15 + 50 | Lowest level of tank 1 and 2 |
| Modelica.Units.SI.Time | waitTime | 2 | Wait time, between operations |
| Modelica.Units.SI.MassFlowRate | Mdot_max | 38 | Maximum mass flow rate in the greenhouse heating circuit |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanOutput | CHP | ||
| Modelica.Blocks.Interfaces.BooleanOutput | ElectricalHeater | ||
| Modelica.Blocks.Interfaces.RealInput | T_tank | ||
| Modelica.Blocks.Interfaces.RealInput | Mdot_1ry | ||
| Modelica.Blocks.Interfaces.BooleanOutput | HP | ||
| Modelica.Blocks.Interfaces.RealInput | T_low_TES |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | T_high_tank | 90 + 273.15 | |
| Modelica.StateGraph.InitialStep | All_off | ||
| Modelica.Blocks.Sources.BooleanExpression | Set_CHP | ||
| Modelica.Blocks.Sources.BooleanExpression | Set_ElectricalHeater | ||
| Modelica.StateGraph.StateGraphRoot | stateGraphRoot | ||
| Modelica.StateGraph.Step | runCHP | ||
| Modelica.StateGraph.Transition | T2 | ||
| Modelica.Blocks.Logical.Hysteresis | hysteresis | ||
| Modelica.Blocks.Logical.Not | not1 | ||
| Modelica.StateGraph.Transition | T1 | ||
| Modelica.Blocks.Sources.BooleanExpression | Set_HP |