modelNCVController

Gas adaptive controller with demanded enthalpy flow rate and net calorific value as inputs and desired mass flow rate as output

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

TypeNameDefaultDescription
General › Controller
Stringmode"Consumer"
BooleanusePIDcontrollertrueif 'true' m_flow_desired' is calculated by PID
Modelica.Blocks.Types.SimpleControllercontrollerTypeModelica.Blocks.Types.SimpleController.PType of controller
Realk1Gain for controller
RealTi0.1Integrator time constant
RealTd0.1Derivative time constant

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MassFlowRateInm_flow_isCurrent mass flow in kg/s
TransiEnt.Basics.Interfaces.General.SpecificEnthalpyInNCV_is_sinkActual net calorific value in sink in J/kg
TransiEnt.Basics.Interfaces.General.SpecificEnthalpyInNCV_is_sourceActual net calorific value in source in J/kg
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flow_desiredDesired mass flow
TransiEnt.Basics.Interfaces.Gas.EnthalpyFlowRateInH_flow_setDesired thermal power

Components

TypeNameDefaultDescription
TransiEnt.Basics.Blocks.LimPIDLimPID
Modelica.Blocks.Math.Divisiondivision
Basics.Blocks.SwitchLessThresholdNoEventswitch1