modelCHP
Extends from TransiEnt.Producer.Combined.LargeScaleCHP.Base.PartialCHP (Partial model of a large scale CHP plant with characteristics specified by PQ boundaries and PQ-Heat input table), TransiEnt.Producer.Electrical.Base.ControlPower.PartialBalancingPowerProvider (Abstract model of any kind of electric balancing power provider with statistics and control input).
Information
1. Purpose of model
Model of a combined heat and power plant
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
P_set: input for Power in [W]
Q_flow_set: input for heat flow rate in [W]
outlet: FluidPortOut
inlet: FluidPortIn
eye: EyeOut
P_SB_set: input for electric power in [W]
gasPortIn: RealGasPortIn
epp: choice of power port
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
Cascading CHP-plants:
Via parameter 'quantity' the whole CHP-plant is devided into several cascading CHP-plants which start up after one another. This implementation repeats the characteristic PQ-field several times. In total, the nominal electrical and thermal power add up to the nominal electrical and thermal power the whole CHP-plant. This is a way for a simple representation of several CHP-plants without having to model several instances of a CHP-plant-model.
Calculation of failures:
CHP-plant turns off when gas pressure falls below 'p_min_operating' and turns on agains if gas pressure increases above 'p_min_operating_backIn'.
8. Validation
Tested in check model "TransiEnt.Producer.Combined.LargeScaleCHP.Check.TestCHP_startup"
9. References
(no remarks)
10. Version History
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in Nov 2018: added possibility to model cascading CHP-plants
Model generalized for different electrical power ports by Jan-Peter Heckel (jan.heckel@tuhh.de) in July 2018
Model modified by Oliver Schülting (oliver.schuelting@tuhh.de) in Nov 2018: added gasPort
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.HeatFlowRate | Q_flow_n_total (from PartialCHP) | Q_flow_n_CHP + Q_flow_n_Peak | |
| Integer | quantity (from PartialCHP) | 1 | |
| Boolean | integrateHeatFlow (from PartialCHP) | false | True if heat flow shall be integrated |
| Boolean | integrateElectricPower (from PartialCHP) | false | True if electric power shall be integrated |
| Boolean | integrateElectricPowerChp (from PartialCHP) | false | True if electric power of the chp shall be integrated |
| SI.Power | P_el_n_single (from PartialCHP) | P_el_n/quantity | |
| SI.Power | Q_flow_n_CHP_single (from PartialCHP) | Q_flow_n_CHP/quantity | |
| SI.Pressure | p_min_operating | -1.2e5 | |
| SI.Pressure | p_min_operating_backIn | -1e5 | |
| Boolean | usePowerBoundary | true | |
| Physical Constraints | |||
| TransiEnt.Producer.Combined.LargeScaleCHP.Base.Characteristics.Generic_PQ_Characteristics | PQCharacteristics (from PartialCHP) | TransiEnt.Producer.Combined.LargeScaleCHP.Base.Characteristics.PQ_Characteristics_WW1() | Characteristics of CHP plant |
| Modelica.Units.SI.Power | P_el_n (from PartialCHP) | 300e6 | Installed capacity for investment cost calculation |
| Modelica.Units.SI.HeatFlowRate | Q_flow_n_CHP (from PartialCHP) | PQCharacteristics.PQboundaries[end, 1]/PQCharacteristics.k_Q_flow | Maximum possible heat flow according to PQ diagram |
| Modelica.Units.SI.HeatFlowRate | Q_flow_n_Peak (from PartialCHP) | 0 | Additional thermal capacity (e.g. peak load heaters) |
| Boolean | useConstantEfficiencies (from PartialCHP) | false | True, constant efficiency over load |
| SI.Efficiency | eta_el_const (from PartialCHP) | 0.4 | Constant efficiency used if useConstantEfficiencies=true |
| SI.Efficiency | eta_th_const (from PartialCHP) | 0.5 | Constant efficiency used if useConstantEfficiencies=true |
| SI.Efficiency | eta_peakload (from PartialCHP) | 0.98 | Constant efficiency of peak load heater annotation |
| Boolean | useConstantSigma (from PartialCHP) | false | True, use constant power to heat ration (sigma) instead of PQ characteristics |
| Real | sigma (from PartialCHP) | 0.3 | Power to heat ration used only if useConstantSigma=true |
| SI.Power | P_n (from PartialBalancingPowerProvider) | 300e6 | Nominal power of plant |
| Real | P_grad_max_star | 0.03/60 | Fraction of nominal power per second (12% per minute) |
| SI.Power | P_el_min_operating | min(PQCharacteristics.PQboundaries[:, 3])*P_el_n_single/max(PQCharacteristics.PQboundaries[:, 2]) | Minimum operating thermal power used to determine plant state |
| SI.Time | T_steamGenerator | 0.5*(0.632/P_grad_max_star) | Time constant of steam generator (overrides value of P_grad_max_star) |
| SI.Time | T_turboGenerator | 60 | Time constant of turbo generator |
| SI.Time | T_heatingCondenser | 40 | Time constant of heating condenser |
| SI.Time | t_startup | 3600 | Time between startup signal and minimum load operation |
| SI.Inertia | J | 10*P_el_n/(100*3.14)^2 | Lumped moment of inertia of whole power plant |
| Advanced › Initialization | |||
| SI.ActivePower | P_el_init (from PartialCHP) | P_el_n | Initial or guess value of output (= state) |
| SI.HeatFlowRate | Q_flow_init (from PartialCHP) | Q_flow_n_total | Initial or guess value of output (= state) |
| Boolean | useEfficiencyForInit (from PartialCHP) | false | True, set efficiency; False set steam generator power at init |
| SI.HeatFlowRate | Q_flow_SG_init (from PartialCHP) | Q_flow_init + P_el_init | Initial or guess value of output (= state) of steam generator |
| Real | eta_el_init (from PartialCHP) | 0.4 | Thermal efficiency used at init time |
| SI.Temperature | T_feed_init | 100 + 273.15 | Start temperature of feed water |
| Boolean | fixedStartValue_w | false | Whether or not the start value of the angular velocity of the plants mechanical components is fixed |
| Statistics | |||
| TransiEnt.Basics.Types.TypeOfResource | typeOfResource (from PartialCHP) | TransiEnt.Basics.Types.TypeOfResource.Cogeneration | Type of energy resource for global model statistics |
| TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrier | typeOfPrimaryEnergyCarrier (from PartialCHP) | TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrier.BlackCoal | Type of primary energy carrier for co2 emissions global statistics |
| TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeat | typeOfPrimaryEnergyCarrierHeat (from PartialCHP) | TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeat.BlackCoal | Type of primary energy carrier for heat for co2 emissions global statistics |
| TransiEnt.Basics.Types.TypeOfCO2AllocationMethod | typeOfCO2AllocationMethod (from PartialCHP) | 1 | Type of allocation method |
| EnergyResource | typeOfBalancingPowerResource (from PartialBalancingPowerProvider) | EnergyResource.Conventional | Type of energy resource for global model statistics |
| Integer | nSubgrid | 1 | Index of subgrid for moment of inertia statistics |
| Heating condenser parameters | |||
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium (from PartialCHP) | simCenter.fluid1 | Medium to be used |
| Block control › Frequency Control | |||
| Boolean | isPrimaryControlActive (from PartialBalancingPowerProvider) | true | |
| Boolean | isSecondaryControlActive (from PartialBalancingPowerProvider) | false | |
| Boolean | isExternalSecondaryController (from PartialBalancingPowerProvider) | true | False, provider generates its own control setpoint (only for lumped plants) |
| SI.Time | t_SB_act (from PartialBalancingPowerProvider) | simCenter.t_SB_act | Maximum reaction time for SB |
| Modelica.Units.SI.Power | P_el_grad_max_SB (from PartialBalancingPowerProvider) | 0.02*P_n/60 | Maximum power gradient for secondary balancing (default: 2%/min) |
| Advanced › Heating condenser parameters | |||
| Modelica.Units.SI.Pressure | p_nom | 1e5 | Nominal pressure |
| SI.MassFlowRate | m_flow_nom | 10 | Nominal mass flow rate |
| SI.SpecificEnthalpy | h_nom | 1e5 | Nominal specific enthalpy |
| SI.SpecificEnthalpy | h_start | TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificEnthalpy_pTxi(medium, p_nom, T_feed_init) | Start value of sytsem specific enthalpy |
| Fundamental Definitions | |||
| Boolean | useGasPort | false | Choose if gas port is used or not |
| TILMedia.VLEFluidTypes.BaseVLEFluid | medium_gas | simCenter.gasModel1 | Gas Medium to be used - only if useGasPort==true |