modelEN12975SolarGain
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block), SolarCollectors.BaseClasses.PartialParameters (Partial model for parameters).
Information
This component computes the solar heat gain of the solar thermal collector. It only calculates the solar heat gain without considering the heat loss to the environment. This model uses ratings data according to EN12975. The solar heat gain is calculated using Equations 18.298 and 18.302 in the referenced EnergyPlus documentation. The calculation is modified to use coefficients from EN12975.
The equation used to calculate solar gain is a modified version of Eq 18.302 from the EnergyPlus documentation. It is
Qflow[i] = Ac/nSeg η0 (K (τα),dir Gdir (1-shaCoe)+Kdif G dif),
where Qflow[i] is the heat gained in each segment,
Ac is the area of the collector,
nSeg is the number of segments in the collector,
η0 is the maximum efficiency of the collector,
K(τα),dir is the incidence angle modifier
for (direct) beam radiation,
Gdir is the current beam radiation on the collector,
shaCoe is the shading coefficient,
Kdif is the incidence angle modifier
for diffuse radiation,
and Gdif is the diffuse radiation striking the surface.
The solar radiation equation indicates that the collector is divided into
multiple segments.
The number of segments used in the simulation is specified by the user via nSeg.
The area of an individual segment is identified by dividing the collector area
by the total number of segments.
The term shaCoe is used to define the percentage of the collector
that is shaded.
The main difference between this model and the ASHRAE model is the handling of diffuse radiation. The ASHRAE model contains calculated incidence angle modifiers for both sky and ground diffuse radiation, while this model uses a coefficient from test data for diffuse radiation.
The incidence angle modifier is calculated using Eq 18.298 from the EnergyPlus documentation. It is
K(τα),x=1+b0 (1/cos(θ)-1)+b1 (1/cos(θ)-1)2
where K(τα),dir is the incidence angle modifier for beam radiation, b0 is the first incidence angle modifier coefficient, b1 is the second incidence angle modifier coefficient, and θ is the incidence angle.
This model reduces the heat gain rate to 0 W when the fluid temperature is within 1 degree C of the maximum temperature of the medium model. The calculation is performed using the Buildings.Utilities.Math.Functions.smoothHeaviside function.
References
CEN 2022, European Standard 12975:2022, European Committee for Standardization
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Area | A_c (from PartialParameters) | Area of the collector | |
| Integer | nSeg (from PartialParameters) | 3 | Number of segments |
| Real | eta0 | Optical efficiency (maximum efficiency) | |
| Modelica.Units.SI.Angle | incAngDat | Incidence angle modifier spline derivative coefficients | |
| Real | incAngModDat | Incidence angle modifier spline derivative coefficients | |
| Real | iamDiff | Incidence angle modifier for diffuse radiation | |
| Shading | |||
| Boolean | use_shaCoe_in | false | Enables an input connector for shaCoe |
| Real | shaCoe | 0 | Shading coefficient 0.0: no shading, 1.0: full shading |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | shaCoe_in | Time varying input for the shading coefficient | |
| Modelica.Blocks.Interfaces.RealInput | HSkyDifTil | Diffuse solar irradiation on a tilted surfce from the sky | |
| Modelica.Blocks.Interfaces.RealInput | incAng | Incidence angle of the sun beam on a tilted surface | |
| Modelica.Blocks.Interfaces.RealInput | HDirTil | Direct solar irradiation on a tilted surfce | |
| Modelica.Blocks.Interfaces.RealOutput[nSeg] | QSol_flow | Solar heat gain | |
| Modelica.Blocks.Interfaces.RealInput[nSeg] | TFlu |
Contents
| Name | Description |
|---|---|
| Medium in the system |
Revisions
-
February 28, 2024, by Jelger Jansen:
Refactor model.
This is for Buildings, #3604. -
January 12, 2019, by Michael Wetter:
Added missingeach. -
April 27, 2018, by Michael Wetter:
CorrecteddisplayUnit.
This is for Buildings, issue 912. -
May 31, 2017, by Michael Wetter and Filip Jorissen:
Change limits for incident angle modifier to avoid dip in temperature at shallow incidence angles.
This is for issue 785. -
September 17, 2016, by Michael Wetter:
Corrected quantity fromTemperaturetoThermodynamicTemperatureto avoid an error in the pedantic model check in Dymola 2017 FD01 beta2.
This is for issue 557. -
June 29, 2015, by Michael Wetter:
Revised implementation of heat loss nearMedium.T_maxto make it more efficient. -
June 29, 2015, by Filip Jorissen:
Fixed sign mistake causing model to fail under high solar irradiation because temperature goes above medium temperature bound. -
Jan 15, 2013, by Peter Grant:
First implementation