modelGasboiler_dynamic_L1

Full modulating or staged gasboiler, signal based dynamic model with splitted ideal combustion and ideal heat-transfer
Diagram of Gasboiler_dynamic_L1

Extends from TransiEnt.Producer.Heat.Gas2Heat.SmallGasBoiler.Base.PartialGasboiler (Full modulating gasboiler, partial model with splitted combustion and heat-transfer).

Information

1. Purpose of model

Simple dynamic gas boiler model with splitted heat generation and emission (CO2) calculation

2. Level of detail, physical effects considered, and physical insight

By default, a given heat duty Qflow,set is set (limited) to the boilers characteristica (Qflow,n, Qflow,min) and then set to a static ideal heat exchanger. For the given heat carrier supply temperature the required heat carrier mass flow is calulated. For the operational mode the supply temperature can also be left variable.

In hold-temperature-mode the boiler needs no heat flow set-input and will heat the carrier to the given temperature within its limits of power. The Qflow,set-value is therefore calculated within the model. In this mode, the boiler can also operate with staged power (on/off or full/part/off), where the power percentage at the part-stage can be given.

The boiler's dynamic is modelled signal based with a first order delay which is variable with the power change step size so that smaller duty changes can be served faster.

From the part load of the boiler and the return flow temperature, the boiler efficiency and fuel heat input is calculated with characteristical lines.


Depending on the users preference (set by the parameter referenceNCV), efficiencies and power calculations in this model are based on either the net or the gross calorific value (NCV or GCV, respectively). With a function for dynamic HV calculation the required fuel mass flow as an output-value is generated.

3. Limits of validity

A constant air ratio to be chosen is asumed.

4. Interfaces

Q_flow_set_internal - heat duty input (only in default mode)

T_supply_set_internal - temperature input in K

gasPortIn/Out - port for fuelgas at the inlet and exhaustgas at the outlet

waterPortIn/Out - ports for the heat carrier (water)

m_flow_fuel_req - output of required fuel mass flow rate

m_flow_HC - output of heat carrier mass flow rate

5. Nomenclature

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no elements)

8. Validation

(no validation or testing necessary)

9. References

(no remarks)

10. Version History

Model created by Paul Kernstock (paul.kernstock@tu-harburg.de) July 2015

Revised by Lisa Andresen (andresen@tuhh.de), Aug 2015

Parameters

TypeNameDefaultDescription
SI.SpecificHeatCapacitycp_water (from PartialGasboiler)TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluidFunctions.specificIsobaricHeatCapacity_pTxi(WaterMedium, 6*1e5, 273.15 + 60, {1})
General › Fundamental definitions
TILMedia.GasTypes.BaseGasFuelMedium (from PartialGasboiler)simCenter.gasModel2Fuel gas medium
TILMedia.GasTypes.BaseGasExhaustMedium (from PartialGasboiler)simCenter.exhaustGasModelExhaust gas medium
TILMedia.VLEFluidTypes.BaseVLEFluidWaterMedium (from PartialGasboiler)simCenter.fluid1Heat carrier medium
General › Operation mode
BooleanholdTemperature (from PartialGasboiler)falseBoiler produces heat duty given by input. Set to true to only hold supply temperature.
BooleanfixedSupplyTemperature (from PartialGasboiler)trueBoiler produces a supply temperature given by input. Set to false to leave it variable
General › Specification
SI.HeatFlowRateQ_flow_n (from PartialGasboiler)5e5Nominal heating power
SI.HeatFlowRateQ_flow_min (from PartialGasboiler)0.1*Q_flow_nMinimum heat duty for min. efficiency
SI.TemperatureT_supply_max (from PartialGasboiler)273.15 + 120Maximum supply temperature
SI.TemperatureDifferencedT_max_DH (from PartialGasboiler)if simCenter.heatingCurve.T_supply_const == 0 then 41 else simCenter.heatingCurve.T_supply_const - simCenter.heatingCurve.T_return_constMaximum heat carrier temperature spread
SI.MassFlowRatem_flow_min (from PartialGasboiler)0.15Mass flow rate to switch off. Non-zero mass flow leads to higher numerical stability
SI.PressureDelta_p_nom (from PartialGasboiler)2000Nominal pressure loss
Integerdimension2Boiler dimension
BooleanmodulatingtrueModulating operation, staged power production if false (select stages then!)
Integerstages1Number of burner stages for non-modulating operation
RealstagePercentage0.3Power percentage at burner stage 2
SI.TemperatureDifferenceT_supply_tol3Acceptable absolute tolerance of supply temperature for controlling (consider dynamics of boiler!)
General › Combustion
Booleancondensing (from PartialGasboiler)trueCondensing operation, influence on emission calculation only.
Reallambda (from PartialGasboiler)1.2Combustion air ratio
BooleanreferenceNCV (from PartialGasboiler)truetrue, if heat calculations shall be in respect to NCV, false will give GCV
General › Statistics
TransiEnt.Basics.Types.TypeOfResourceTypeOfResource (from PartialGasboiler)TransiEnt.Basics.Types.TypeOfResource.ConventionalType of resource
TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeatTypeOfEnergyCarrierHeat (from PartialGasboiler)TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeat.NaturalGasType of energy carrier
TransiEnt.Basics.Units.MonetaryUnitPerEnergyCspec_demAndRev_gas_fuel (from PartialGasboiler)simCenter.Cfue_GasBoilerSpecific demand-related cost per gas energy

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateInQ_flow_set (from PartialGasboiler)Q_flow_set_internalHeat duty
TransiEnt.Basics.Interfaces.General.TemperatureInT_supply_set (from PartialGasboiler)T_supply_set_internalSupply temperature set value
TransiEnt.Basics.Interfaces.General.MassFlowRateOutm_flow_HC_req (from PartialGasboiler)m_flow_HC_req_internalRequired heat carrier mass flow -> Usage not recommended, may lead to numerical instability!
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutwaterPortOut (from PartialGasboiler)
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPortIn (from PartialGasboiler)
TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortIngasPortIn (from PartialGasboiler)
TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortOutgasPortOut (from PartialGasboiler)

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialGasboiler)
TransiEnt.ModelStatisticsmodelStatistics (from PartialGasboiler)
Booleanswitch (from PartialGasboiler)Boiler switch
SI.HeatFlowRateQ_flow_set_internal (from PartialGasboiler)Heat set value
SI.HeatFlowRateQ_flow_out (from PartialGasboiler)Generated heat
SI.HeatFlowRateQ_flow_fuel (from PartialGasboiler)m_flow_fuel*CalorificValueConsumed fuel (related to NCV or GCV as defined)
SI.SpecificEnthalpyCalorificValue (from PartialGasboiler)if referenceNCV then TransiEnt.Basics.Functions.GasProperties.getIdealGasNCV_xi(FuelMedium, xi_in = xi_fuel[1:FuelMedium.nc - 1], NCVIn = 0) else TransiEnt.Basics.Functions.GasProperties.getIdealGasGCV_xi(FuelMedium, xi_in = xi_fuel[1:FuelMedium.nc - 1], GCVIn = 0)Calorific value of fuel
SI.Efficiencyeta (from PartialGasboiler)product.yBoiler's overall efficiency
SI.TemperatureT_supply_set_internal (from PartialGasboiler)Internally set supply temperature
SI.TemperatureT_supply (from PartialGasboiler)temperatureWaterOut.TSupply temperature
SI.TemperatureT_return (from PartialGasboiler)temperatureWaterIn.TReturn temperature
SI.TemperatureDifferencedT (from PartialGasboiler)T_supply - T_returnTemperature difference
SI.MassFlowRatem_flow_fuel (from PartialGasboiler)gasPortIn.m_flowFuel mass flow rate
SI.MassFlowRatem_flow_CDE (from PartialGasboiler)gasPortOut.m_flow*gasPortOut.xi_outflow[2]CDE mass flow rate
SI.MassFlowRatem_flow_air (from PartialGasboiler)combustion.m_flow_airAir mass flow rate
SI.MassFlowRatem_flow_HC_req_internal (from PartialGasboiler)Required heat carrier mass flow rate for heat-duty-controlled mode
SI.MassFlowRatem_flow_HC (from PartialGasboiler)waterPortIn.m_flowActual heat carrier mass flow rate
SI.MassFraction[FuelMedium.nc]xi_fuel (from PartialGasboiler)[CH4, C2H6, C3H8, C4H10, N2, CO2, H2] Fuel gas mass fractions
SI.MassFraction[ExhaustMedium.nc]xi_exhaust (from PartialGasboiler)[H2O, CO2, CO, H2, O2, NO, NO2, SO2, N2] Exhaust gas mass fractions
Modelica.Blocks.Logical.Switchboilerswitch2 (from PartialGasboiler)off-switch, when supply temperature is lower than return temperature
Modelica.Blocks.Logical.Greatergreater (from PartialGasboiler)
Modelica.Blocks.Sources.RealExpressiont_return (from PartialGasboiler)
Modelica.Blocks.Sources.RealExpressiont_max (from PartialGasboiler)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectHeatingPowercollectHeatingPower (from PartialGasboiler)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectGwpEmissionsHeatcollectGwpEmissions (from PartialGasboiler)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectCostsGeneralcollectCosts (from PartialGasboiler)
IntegerstageSwitch