modelSmallScaleCHP_simple
Extends from TransiEnt.Producer.Electrical.Base.PartialNaturalGasUnit (Adds a gas interface with a mass flow defining boundary to child components), TransiEnt.Basics.Icons.CHP.
Information
1. Purpose of model
Simple small scale CHP model with constant efficiencies.
2. Level of detail, physical effects considered, and physical insight
(none)
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
Q_flow_set: set value for the heat flow
T_source_input_K: source temperature (ambient temperature) in K
waterPortIn: inlet port for heating water
waterPortOut: outlet port for heating water
P_el: needed electric power
epp: electric power port
heatFlowRateOut Q_flow_gen
5. Nomenclature
(no elements)
6. Governing Equations
(none)
7. Remarks for Usage
(none)
8. Validation
(no validation or testing necessary)
9. References
(none)
10. Version History
Model created by Carsten Bode (c.bode@tuhh.de), Aug 2018
Model modified by Jan Westphal (j.westphal@tuhh.de), Jul 2019 (added boolean for power port, added boolean for using gas port)
Model modified by Emil Dierkes (emil.dierkes@umsicht.fraunhofer.de) and Anne Hagemeier (anne.hagemeier@umsicht.fraunhofer.de), July 2021 (added boolean for using fluid ports, change_sign and output Q_flow_gen).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.HeatFlowRate | Q_flow_n | P_el_n/eta_el*eta_th | Nominal heat flow rate |
| Fundamental Definitions | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | mediumGas (from PartialNaturalGasUnit) | simCenter.gasModel1 | |
| TILMedia.VLEFluidTypes.BaseVLEFluid | mediumWater | simCenter.fluid1 | Medium to be used |
| SI.Pressure | p_drop | heatFlowBoundary.simCenter.p_nom[2] - heatFlowBoundary.simCenter.p_nom[1] | Pressure drop |
| SI.Power | P_el_n | 3.5e3 | Nominal electric power |
| SI.Efficiency | eta_el | 0.3 | Constant electric efficiency |
| SI.Efficiency | eta_th | 0.6 | Constant thermal efficiency |
| SI.SpecificEnthalpy | HoC_fuel | 40e6 | Heat of combustion of fuel, will be used if gasport is deactivated in model |
| Configuration | |||
| Boolean | useGasPort (from PartialNaturalGasUnit) | true | True if gas port shall be used |
| Boolean | usePowerPort | true | True if power port shall be used |
| Boolean | useFluidPorts | true | True if fluid ports shall be used |
| Boolean | useHeatPort | true | True if heat port shall be used |
| Boolean | change_sign | false | If false, setpoint value needs to be negative |
| Physical Constraints | |||
| Boolean | useSecondGasPort (from PartialNaturalGasUnit) | false | |
| Statistics | |||
| Boolean | integrateElPower | simCenter.integrateElPower | true if electric powers shall be integrated |
| Boolean | integrateHeatFlow | simCenter.integrateHeatFlow | true if heat flows shall be integrated |
| Boolean | calculateCost | simCenter.calculateCost | true if cost shall be calculated |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn (from PartialNaturalGasUnit) | ||
| TransiEnt.Basics.Interfaces.General.MassFlowRateOut | m_flow_gas (from PartialNaturalGasUnit) | ||
| TransiEnt.Basics.Interfaces.Gas.RealGasPortIn | gasPortIn_2 (from PartialNaturalGasUnit) | ||
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | waterPortIn | ||
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | waterPortOut | ||
| Modelica.Blocks.Interfaces.RealInput | Q_flow_set | Setpoint value of the heat flow rate, should be negative | |
| Modelica.Blocks.Interfaces.RealOutput | H_flow | Consumed gas enthalpy flow | |
| PowerPortModel | epp | ||
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_b | heatPort | ||
| Basics.Interfaces.Thermal.HeatFlowRateOut | Q_flow_gen |
Components
Contents
| Name | Description |
|---|---|