modelGridInput
Extends from SolarTherm.Icons.GridInput.
Information
GridInput models the input of electrical power from renewable sources, such as photovoltaic (PV) and wind farms, into an electrical grid. The model calculates the net electrical power input based on reference power data, curtailment, and user-defined parameters.
The GridInput model has the following connectors and parameters:
- Parameters:
- pv_file: File with the reference PV farm output.
- wind_file: File with the reference Wind farm output.
- P_elec_min: Minimum power input, in Watts. Default: 25e6 W.
- P_elec_max: Maximum power input, in Watts. Default: 100e6 W.
- pv_fraction: PV fraction of renewable input at design. Default: 0.5.
- P_elec_pv_ref_size: PV farm reference size, in Watts. Default: 50e6 W.
- P_elec_wind_ref_size: Wind farm reference size, in Watts. Default: 50e6 W.
- Connectors:
- P_elec_net: Net electrical power output to the grid.
- curtail: Input for curtailment control.
- P_schedule: Input for controlling power scheduling.
- electricity: Output for the electrical power input to the grid.
- on_renewable: Output indicating whether the power input is from renewable sources.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | pv_file | File with the reference PV farm output | |
| String | wind_file | File with the reference Wind farm output | |
| Modelica.SIunits.Power | P_elec_min | 25e6 | Minimum power input |
| Modelica.SIunits.Power | P_elec_max | 100e6 | Maximum power input |
| Modelica.SIunits.Efficiency | pv_fraction | 0.5 | PV fraction of renewable input at design |
| Modelica.SIunits.Power | P_elec_pv_ref_size | 50e6 | PV farm reference size |
| Modelica.SIunits.Power | P_elec_wind_ref_size | 50e6 | Wind farm reference size |
| Real | renewable_multiple | 2 | Oversizing factor with respect to the heat input |
| Modelica.SIunits.Power | P_elec_max_pv | pv_fraction*P_elec_max | Maximum PV capacity |
| Modelica.SIunits.Power | P_elec_max_wind | (1 - pv_fraction)*P_elec_max | Maximum Wind farm capacity |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | curtail | ||
| Modelica.Blocks.Interfaces.RealInput | P_schedule | ||
| Modelica.Blocks.Interfaces.RealOutput | electricity | ||
| Modelica.Blocks.Interfaces.BooleanOutput | on_renewable |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.CombiTimeTable | P_elec_ref_pv | ||
| Modelica.Blocks.Sources.CombiTimeTable | P_elec_rec_wind | ||
| Modelica.Blocks.Sources.RealExpression | P_elec_net_switch1 | ||
| Modelica.Blocks.Sources.RealExpression | P_elec_curtail_switch1 | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.SIunits.Power | P_elec_net | ||
| Modelica.SIunits.Power | P_elec_raw | ||
| Modelica.SIunits.Power | P_elec_raw_pv | ||
| Modelica.SIunits.Power | P_elec_raw_wind |
Revisions
- September 2023 by Armando Fontalvo:
Created documentation for GridInput.