modelRenewableSources
Extends from Modelica.Icons.Example.
Information
This model shows the impact of renewables on the electric grid. The sensors show how the voltage per unit fluctuates depending on the building load and the power produced by the PV and the wind turbine. To the right of the model is the post-processing that computes the ratio of energy produced by the renewables over the energy consumed by the loads.
Ratio between energy produced by renewables and energy consumed
Th image below shows the ratio between the energy produced by renewable energy sources over the energy consumed by the loads over one year. The solid line indicates the Net-Zero Energy goal and the blue line indicates the actual ratio for the neighborhood represented by the model.
Voltage losses due to power generated by renewables
The scatter plots show the voltage levels at different locations in the network. In particular, the plots highlight how the voltage fluctuations are related to the power generated by the renewable sources, to the wind speed and the global horizontal irradiation. As expected, voltage increases with the power generated by the renewables, causing possible instabilities to the electrical grid.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Frequency | f | 60 | Nominal grid frequency |
| Modelica.Units.SI.Voltage | V_nominal | 480 | Nominal grid voltage |
| Modelica.Units.SI.Power | PLoa_nominal | 3500 | Nominal power of a load |
| Modelica.Units.SI.Power | PWin | PLoa_nominal*4 | Nominal power of the wind turbine |
| Modelica.Units.SI.Power | PSun | PLoa_nominal*1.0 | Nominal power of the PV |
| Modelica.Units.SI.DensityOfHeatFlowRate | W_m2_nominal | 1000 | Nominal solar power per unit area |
| Real | eff_PV | 0.12*0.85*0.9 | Nominal solar power conversion efficiency (this should consider converion efficiency, area covered, AC/DC losses) |
| Modelica.Units.SI.Area | A_PV | PSun/eff_PV/W_m2_nominal | Nominal area of a P installation |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| AC.ThreePhasesBalanced.Sources.Grid | gri | Grid model that provides power to the system | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa1 | Electrical load | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa2 | Electrical load | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa3 | Electrical load | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa4 | Electrical load | |
| AC.ThreePhasesBalanced.Lines.Line | line1 | Electrical line | |
| AC.ThreePhasesBalanced.Lines.Line | line2 | Electrical line | |
| AC.ThreePhasesBalanced.Lines.Line | line3 | Electrical line | |
| AC.ThreePhasesBalanced.Lines.Line | line4 | Electrical line | |
| AC.ThreePhasesBalanced.Lines.Line | line5 | Electrical line | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa5 | Electrical load | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa6 | Electrical load | |
| AC.ThreePhasesBalanced.Loads.Inductive | loa7 | Electrical load | |
| AC.ThreePhasesBalanced.Lines.Line | line6 | Electrical line | |
| AC.ThreePhasesBalanced.Lines.Line | line7 | Electrical line | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv1 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv2 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv3 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv4 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv5 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv6 | PV | |
| AC.ThreePhasesBalanced.Sources.PVSimpleOriented | pv7 | PV | |
| AC.ThreePhasesBalanced.Sources.WindTurbine | winTur | Wind turbine model | |
| AC.ThreePhasesBalanced.Lines.Line | line8 | ||
| BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | Weather data model | |
| BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus | |
| Modelica.Blocks.Sources.CombiTimeTable | pow1 | Power consumption profile for load 1 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow2 | Power consumption profile for load 2 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow3 | Power consumption profile for load 3 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow4 | Power consumption profile for load 4 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow5 | Power consumption profile for load 5 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow6 | Power consumption profile for load 6 | |
| Modelica.Blocks.Sources.CombiTimeTable | pow7 | Power consumption profile for load 7 | |
| AC.ThreePhasesBalanced.Sensors.Probe | sen1 | Voltage probe | |
| AC.ThreePhasesBalanced.Sensors.Probe | sen2 | Voltage probe | |
| AC.ThreePhasesBalanced.Sensors.Probe | sen3 | Voltage probe | |
| Modelica.Blocks.Continuous.Integrator | EWin | Energy produced by the wind turbine | |
| Modelica.Blocks.Math.MultiSum | PSol | Total produced solar power | |
| Modelica.Blocks.Continuous.Integrator | ESol | Energy produced by the solar panels | |
| Modelica.Blocks.Sources.RealExpression | PLoa | Total power consumed by the loads | |
| Modelica.Blocks.Continuous.Integrator | ELoa | Energy consumed by the loads | |
| Modelica.Blocks.Math.Add | EPro | Total produced power by renewables | |
| Modelica.Blocks.Math.Division | ERat | Ratio of produced over consumed energy |
Revisions
-
September 16, 2021, by Michael Wetter:
Removed assignment of parameterlatas this is now obtained from the weather data reader.
This is for IBPSA, #1477. -
October 2, 2015, by Michael Wetter:
Changed signals for post-processing to avoid using the conditionally enabled connectorloa1.youtside of aconnectstatement. -
March 27, 2015, by Michael Wetter:
Revised model. -
March 25, 2015, by Marco Bonvini:
Added model.