modelNCVController
Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).
Information
1. Purpose of model
Model to control mass flow rate by measured net calorific value and given enthalpy flow rate input.
2. Level of detail, physical effects considered, and physical insight
If usePIDcontroller, a LimPID controller will be used. The limits are set according to the mode (Producer, Consumer, both).
If not usePIDcontroller, the mass flow rate is calculated.
3. Limits of validity
(no remarks)
4. Interfaces
m_flow_is - Current hydrogen mass flow in kg/s
NCV_is_sink - actual net calorific value in sink in J/kg
NCV_is_source - actual net calorific value in source in J/kg
m_flow_desired - desired mass flow in kg/s
H_flow_set - Desired thermal power in W
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
No validation necessary
9. References
(none)
10. Version History
Model created by Lisa Andresen (andresen@tuhh.de) in May 2016
Model modified by Robert Flesch (flesch@xrg-simulation.de), Nov 2020: added NCV in different flow directions
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| General › Controller | |||
| String | mode | "Consumer" | |
| Boolean | usePIDcontroller | true | if 'true' m_flow_desired' is calculated by PID |
| Modelica.Blocks.Types.SimpleController | controllerType | Modelica.Blocks.Types.SimpleController.P | Type of controller |
| Real | k | 1 | Gain for controller |
| Real | Ti | 0.1 | Integrator time constant |
| Real | Td | 0.1 | Derivative time constant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MassFlowRateIn | m_flow_is | Current mass flow in kg/s | |
| TransiEnt.Basics.Interfaces.General.SpecificEnthalpyIn | NCV_is_sink | Actual net calorific value in sink in J/kg | |
| TransiEnt.Basics.Interfaces.General.SpecificEnthalpyIn | NCV_is_source | Actual net calorific value in source in J/kg | |
| TransiEnt.Basics.Interfaces.General.MassFlowRateOut | m_flow_desired | Desired mass flow | |
| TransiEnt.Basics.Interfaces.Gas.EnthalpyFlowRateIn | H_flow_set | Desired thermal power |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Blocks.LimPID | LimPID | ||
| Modelica.Blocks.Math.Division | division | ||
| Basics.Blocks.SwitchLessThresholdNoEvent | switch1 |