Fronius Photovoltaic Inverter

Description

This masked Block models the behavior of a Fronius Photovoltaic Inverter.
It is a Dynamic Model that can be connected between DC-Sources and an AC-Source. The Photovoltaic Inverter transfers power from the DC-Sources to the AC-Source or vice versa under tunable User Settings and simulated Grid Conditions.
Simulation Results of each individual Fronius Photovoltaic Inverter are automatically stored as Structure With Time for Post-Processing and Analysis.

The Dynamic Model is offered as a Simulink Block in a Simulink Custom Library. Simply drag-and-drop the Simulink Block into your Simulink Model. Please be aware that the Simulink Custom Library and the supplementary files are in your Matlab Search Path.

Ports

The Fronius Photovoltaic Inverter can be connected to electric power systems (DC-Sources and AC-Source) offering following ports:

Name Description
PV1+ Positive Wire for First Photovoltaic Generator (DC-Source)
PV2+ Positive Wire for Second Photovoltaic Generator (DC-Source)
PV3+ Positive Wire for Third Photovoltaic Generator (DC-Source)
PV4+ Positive Wire for Fourth Photovoltaic Generator (DC-Source)
BAT+ Positive Wire for Battery (DC-Source)
DC- Common Negative Wire for all Photovoltaic Generators and Battery (DC-Sources)
L1 Wire for First Phase of Grid (AC-Source)
L2 Wire for Second Phase of Grid (AC-Source)
L3 Wire for Third Phase of Grid (AC-Source)
N Neutral Wire of Grid (AC-Source)

User Settings

The Mask of the Fronius Photovoltaic Inverter offers the following tunable User Settings:

Library Link

Name Description
Disable Library Link Button to Disable the Link of the current Simulink Model Block to the Simulink Custom Library
This can be used if the current Simulink Model Block needs to be modified
Restore Library Link Button to Restore the Link of the current Simulink Model Block to the Simulink Custom Library
This can be used to undo any changes of the current Simulink Model Block
Create Reference Block Button to Create a Reference Block from the current Simulink Model Block
This changes the electric power system ports to Simulink input ports
It can be used to create Simulation Results including Calculation Results from real measurements for comparision

Inverter

Name Description
Type Specifies the Type of the used Fronius Photovoltaic Inverter
Setup Specifies the Setup of the used Fronius Photovoltaic Inverter
Number of Parallel Inverters Simulates a specified integer Number of Parallel Inverters within one Fronius Photovoltaic Inverter
Enable [1] over Time [s] Enable Signal to Enable or Disable the Fronius Photovoltaic Inverter as Signal-Time-Pair

AC Settings

Name Description
Pac-Relative Set-Point [p.u.] over Time [s] Set-Point for the AC Active Power as Signal-Time-Pair
Start-Up Slew Rate [p.u./s] Slew Rate of the AC Active Power during the Start-Up Phase (can be set to "NaN" to use the Default Setup Value)

DC Settings

Name Description
DC Input 1: Photovoltaic String Mode Select Photovoltaic String Mode for DC Input:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Off
  • Maximum Power Point Tracking
  • Constant Photovoltaic Voltage
DC Input 1: Photovoltaic String Constant Voltage [V] If Constant Photovoltaic Voltage is used as Photovoltaic String Mode, the given Constant Voltage is used on the DC Input
(can be set to "NaN" to use the Default Setup Value)
DC Input 2: Photovoltaic String Mode Select Photovoltaic String Mode for DC Input:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Off
  • Maximum Power Point Tracking
  • Constant Photovoltaic Voltage
DC Input 2: Photovoltaic String Constant Voltage [V] If Constant Photovoltaic Voltage is used as Photovoltaic String Mode, the given Constant Voltage is used on the DC Input
(can be set to "NaN" to use the Default Setup Value)
DC Input 3: Photovoltaic String Mode Select Photovoltaic String Mode for DC Input:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Off
  • Maximum Power Point Tracking
  • Constant Photovoltaic Voltage
DC Input 3: Photovoltaic String Constant Voltage [V] If Constant Photovoltaic Voltage is used as Photovoltaic String Mode, the given Constant Voltage is used on the DC Input
(can be set to "NaN" to use the Default Setup Value)
DC Input 4: Photovoltaic String Mode Select Photovoltaic String Mode for DC Input:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Off
  • Maximum Power Point Tracking
  • Constant Photovoltaic Voltage
DC Input 4: Photovoltaic String Constant Voltage [V] If Constant Photovoltaic Voltage is used as Photovoltaic String Mode, the given Constant Voltage is used on the DC Input
(can be set to "NaN" to use the Default Setup Value)

Grid Support: Acitve Power

Name Description
Pac over fac for Power-Reduction: Frequency Enable [Hz] Start Frequency for Power Reduction because of Overfrequency (can be set to "NaN" to use the Default Setup Value)
Pac over fac for Power-Reduction: Frequency Disable [Hz] Stop Frequency for Power Reduction because of Overfrequency (can be set to "NaN" to use the Default Setup Value)
Pac over fac for Power-Reduction: Gradient [%/Hz] Gradient for Power Reduction because of Overfrequency (can be set to "NaN" to use the Default Setup Value)
Pac over fac for Power-Increase: Frequency Enable [Hz] Start Frequency for Power Increase because of Underfrequency (can be set to "NaN" to use the Default Setup Value)
Pac over fac for Power-Increase: Frequency Disable [Hz] Stop Frequency for Power Increase because of Underfrequency (can be set to "NaN" to use the Default Setup Value)
Pac over fac for Power-Increase: Gradient [%/Hz] Gradient for Power Increase because of Underfrequency (can be set to "NaN" to use the Default Setup Value)

Grid Support: Reacitve Power

Name Description
Pac/Qac Priority Mode Select Priority Mode if Apparent Power Limitation is activated:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Pac Priority
    Active Power has Priority over Reactive Power
  • Qac Priority
    Reactive power has Priority over Active Power
Reactive Power Mode Select Reactive Power Mode for Static Grid Support:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Off
  • cos(phi) Set-Point
  • Qac-Relative Set-Point
  • Qac-Absolute Set-Point
  • cos(phi) over Pac
  • Qac-Relative over Uac
  • Qac-Relative over Pac
  • tan(phi) over Uac
Reactive Power Time Constant [s] Time Constant for Set-Point changes during Reactive Power Mode (can be set to "NaN" to use the Default Setup Value)
cos(phi) Set-Point [1] over Time [s] Set-Point for cos(phi) Reactive Power Mode as Signal-Time-Pair
Qac-Relative Set-Point [%] over Time [s] Set-Point for Qac-Relative Reactive Power Mode as Signal-Time-Pair
Qac-Absolute Set-Point [var] over Time [s] Set-Point for Qac-Absolute Reactive Power Mode as Signal-Time-Pair

Grid Support: Dynamic Grid Support

Name Description
Region: High Voltage 1 Detection Level [%] Detection Level for Dynamic Grid Support of High Voltage 1 Region (can be set to "NaN" to use the Default Setup Value)
Region: High Voltage 1 Calculation Mode Select Calculation Mode for Dynamic Grid Support of High Voltage 1 Region:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Normal Continuous Feed-In
  • Conserve Prefault Current
  • Zero Current Feed-In
  • Nominal Based Balanced Reactive Compensation Current
  • Boundary Based Balanced Reactive Compensation Current
  • Nominal Based Unbalanced Reactive Compensation Current
Region: High Voltage 1 K-Factor [1] K-Factor during Dynamic Grid Support of High Voltage 1 Region (can be set to "NaN" to use the Default Setup Value)
Region: Low Voltage 1 Detection Level [%] Detection Level for Dynamic Grid Support of Low Voltage 1 Region (can be set to "NaN" to use the Default Setup Value)
Region: Low Voltage 1 Calculation Mode Select Calculation Mode for Dynamic Grid Support of Low Voltage 1 Region:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Normal Continuous Feed-In
  • Conserve Prefault Current
  • Zero Current Feed-In
  • Nominal Based Balanced Reactive Compensation Current
  • Boundary Based Balanced Reactive Compensation Current
  • Nominal Based Unbalanced Reactive Compensation Current
Region: Low Voltage 1 K-Factor [1] K-Factor during Dynamic Grid Support of Low Voltage 1 Region (can be set to "NaN" to use the Default Setup Value)
Region: Low Voltage 2 Detection Level [%] Detection Level for Dynamic Grid Support of Low Voltage 2 Region (can be set to "NaN" to use the Default Setup Value)
Region: Low Voltage 2 Calculation Mode Select Calculation Mode for Dynamic Grid Support of Low Voltage 2 Region:
  • NaN (can be set to "NaN" to use the Default Setup Value)
  • Normal Continuous Feed-In
  • Conserve Prefault Current
  • Zero Current Feed-In
  • Nominal Based Balanced Reactive Compensation Current
  • Boundary Based Balanced Reactive Compensation Current
  • Nominal Based Unbalanced Reactive Compensation Current
Region: Low Voltage 2 K-Factor [1] K-Factor during Dynamic Grid Support of Low Voltage 2 Region (can be set to "NaN" to use the Default Setup Value)

Simulation Results

Simulation Results of each individual Fronius Photovoltaic Inverter are automatically stored as Structure With Time for Post-Processing and Analysis. Following Structure With Time elements are created:

SimResultsTsControl

A Structure With Time named SimResultsTsControl_FroniusPhotovoltaicInverterBlockName with a Sample Time of 0.1ms is automatically stored consisting of following measured elements:

Index Name Description
1 udc1 [V] Voltage Measurement of First Photovoltaic Generator Connection to Common Negative Connection
2 udc2 [V] Voltage Measurement of Second Photovoltaic Generator Connection to Common Negative Connection
3 udc3 [V] Voltage Measurement of Third Photovoltaic Generator Connection to Common Negative Connection
4 udc4 [V] Voltage Measurement of Fourth Photovoltaic Generator Connection to Common Negative Connection
5 udc5 [V] Voltage Measurement of Battery Connection to Common Negative Connection
6 uzk1 [V] Voltage Measurement of Upper Half of Intermediate Circuit
7 uzk2 [V] Voltage Measurement of Lower Half of Intermediate Circuit
8 uac1 [V] Voltage Measurement of First Phase of Grid Connection to Neutral Connection
9 uac2 [V] Voltage Measurement of Second Phase of Grid Connection to Neutral Connection
10 uac3 [V] Voltage Measurement of Third Phase of Grid Connection to Neutral Connection
11 idc1 [A] Current Measurement of First Photovoltaic Generator Connection
12 idc2 [A] Current Measurement of Second Photovoltaic Generator Connection
13 idc3 [A] Current Measurement of Third Photovoltaic Generator Connection
14 idc4 [A] Current Measurement of Fourth Photovoltaic Generator Connection
15 idc5 [A] Current Measurement of Battery Connection
16 iac1 [A] Current Measurement of First Phase of Grid Connection
17 iac2 [A] Current Measurement of Second Phase of Grid Connection
18 iac3 [A] Current Measurement of Third Phase of Grid Connection

SimResultsTsMilliSecond

A Structure With Time named SimResultsTsMilliSecond_FroniusPhotovoltaicInverterBlockName with a Sample Time of 1.0ms is automatically stored consisting of following calculated elements:

Index Name Description
1 uacRms1 [V] Calculated Effective Voltage of uac1
2 uacRms2 [V] Calculated Effective Voltage of uac2
3 uacRms3 [V] Calculated Effective Voltage of uac3
4 uacPosRms [V] Calculated Positive Sequence Effective Voltage of uac1, uac2 and uac3
5 uacPosAmpD [V] Calculated Active Positive Sequence Peak Voltage of uac1, uac2 and uac3
6 uacPosAmpQ [V] Calculated Reactive Positive Sequence Peak Voltage of uac1, uac2 and uac3
7 uacNegRms [V] Calculated Negative Sequence Effective Voltage of uac1, uac2 and uac3
8 uacNegAmpD [V] Calculated Active Negative Sequence Peak Voltage of uac1, uac2 and uac3
9 uacNegAmpQ [V] Calculated Reactive Negative Sequence Peak Voltage of uac1, uac2 and uac3
10 iacRms1 [A] Calculated Effective Current of iac1
11 iacRms2 [A] Calculated Effective Current of iac2
12 iacRms3 [A] Calculated Effective Current of iac3
13 iacPosRms [A] Calculated Positive Sequence Effective Current of iac1, iac2 and iac3
14 iacPosAmpD [A] Calculated Active Positive Sequence Peak Current of iac1, iac2 and iac3
15 iacPosAmpQ [A] Calculated Reactive Positive Sequence Peak Current of iac1, iac2 and iac3
16 iacNegRms [A] Calculated Negative Sequence Effective Current of iac1, iac2 and iac3
17 iacNegAmpD [A] Calculated Active Negative Sequence Peak Current of iac1, iac2 and iac3
18 iacNegAmpQ [A] Calculated Reactive Negative Sequence Peak Current of iac1, iac2 and iac3
19 fac [Hz] Calculated Frequency of uac1, uac2 and uac3
20 pdc1 [W] Calculated Power of udc1 with idc1
21 pdc2 [W] Calculated Power of udc2 with idc2
22 pdc3 [W] Calculated Power of udc3 with idc3
23 pdc4 [W] Calculated Power of udc4 with idc4
24 pdc5 [W] Calculated Power of udc5 with idc5
25 pacPosAve [W] Calculated Active Positive Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3
26 qacPosAve [var] Calculated Reactive Positive Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3
27 sacPosAve [VA] Calculated Apparent Positive Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3
28 pacNegAve [W] Calculated Active Negative Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3
29 qacNegAve [var] Calculated Reactive Negative Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3
30 sacNegAve [VA] Calculated Apparent Negative Sequence Average Power of uac1, uac2 and uac3 with iac1, iac2 and iac3

Sample Time

The Fronius Photovoltaic Inverter has an internal Sample Time of 0.1ms.
Hence, the Sample Time of the Simulation must be an integer Factor or Divider of 0.1ms.
Recommended Sample Time of the Simulation is 0.1ms with Fixed-Step-Discrete Solver for best Performance.

Compatibility

The following Software Requirements are necessary for the Simulation of the Fronius Photovoltaic Inverter:

DC-Source

Description

This masked block models the behavior of a DC-Source for a Fronius Photovoltaic Inverter.

Ports

The DC-Source can be connected to a Fronius Photovoltaic Inverter offering following ports:

Name Description
DC+ Positive Wire of DC-Source
DC- Negative Wire of DC-Source

Mask

The Mask of the DC-Source offers the following tunable Parameters:

DC-Source Impedance

Name Description
Resistance [Ohm] Serial Resistance of DC-Source
Inductance [H] Serial Inductance of DC-Source

DC-Source Settings

Name Description
Pdc-Relative Availability [p.u.] over Time [s] Relative Available Power of DC-Source as Signal-Time-Pair
Pdc-Absolute Maximum Power Point [W] Absolute Maximum Power of DC-Source at Maximum Power Point
Udc-Absolute Maximum Power Point [V] Absolute Voltage of DC-Source at Maximum Power Point
Udc-Absolute Open-Circuit Voltage [V] Absolute Voltage of DC-Source at Open Circuit

DC-Source Characteristic

Name Description
DC-Source Characteristic Plot Button to Plot the Characteristic of the DC-Source as Current over Voltage and Power over Voltage including all Characteristic Values

AC-Source

Description

This masked block models the behavior of an AC-Source for a Fronius Photovoltaic Inverter.

Ports

The AC-Source can be connected to a Fronius Photovoltaic Inverter offering following ports:

Name Description
L1 Wire for First Phase of AC-Source
L2 Wire for Second Phase of AC-Source
L3 Wire for Third Phase of AC-Source
N Neutral Wire of AC-Source

Mask

The Mask of the AC-Source offers the following tunable Parameters:

AC-Source Impedance

Name Description
Resistance [Ohm] Serial Resistance of AC-Source
Inductance [H] Serial Inductance of AC-Source

AC-Source Settings

Name Description
Effective Voltage Phase 1 [V] over Time [s] and Rate Limit [V/s] Effective Voltage for Phase 1 of AC-Source as Signal-Time-Pair with Rate Limit
Effective Voltage Phase 2 [V] over Time [s] and Rate Limit [V/s] Effective Voltage for Phase 2 of AC-Source as Signal-Time-Pair with Rate Limit
Effective Voltage Phase 3 [V] over Time [s] and Rate Limit [V/s] Effective Voltage for Phase 3 of AC-Source as Signal-Time-Pair with Rate Limit
Frequency [Hz] over Time [s] and Rate Limit [Hz/s] Frequency for Phase 1, Phase 2 and Phase 3 of AC-Source as Signal-Time-Pair with Rate Limit
Phase Angle Phase 1 [°] over Time [s] and Rate Limit [°/s] Phase Angle Offset for Phase 1 of AC-Source as Signal-Time-Pair with Rate Limit
Phase Angle Phase 2 [°] over Time [s] and Rate Limit [°/s] Phase Angle Offset for Phase 2 of AC-Source as Signal-Time-Pair with Rate Limit
Phase Angle Phase 3 [°] over Time [s] and Rate Limit [°/s] Phase Angle Offset for Phase 3 of AC-Source as Signal-Time-Pair with Rate Limit
Harmonic Generation: Order [1] Order Vector of Harmonic Generation for Phase 1, Phase 2 and Phase 3 of AC-Source
Harmonic Generation: Amplitude [p.u.] Amplitude Vector of Harmonic Generation for Phase 1, Phase 2 and Phase 3 of AC-Source
Harmonic Generation: Phase Angle [°] Phase Angle Offset Vector of Harmonic Generation for Phase 1, Phase 2 and Phase 3 of AC-Source

AC-Source Fault

Name Description
Fault 1 L1 Checkbox to Activate or Deactivate Fault 1 between Phase 1 and other Connections of AC-Source
Fault 1 L2 Checkbox to Activate or Deactivate Fault 1 between Phase 2 and other Connections of AC-Source
Fault 1 L3 Checkbox to Activate or Deactivate Fault 1 between Phase 3 and other Connections of AC-Source
Fault 1 GND Checkbox to Activate or Deactivate Fault 1 between Ground and other Connections of AC-Source
Fault 1 to Voltage [p.u.] Relative Voltage of Fault 1 of AC-Source
Fault 1 at Time [s] Start Time and Stop Time of Fault 1 of AC-Source
Fault 2 L1 Checkbox to Activate or Deactivate Fault 2 between Phase 1 and other Connections of AC-Source
Fault 2 L2 Checkbox to Activate or Deactivate Fault 2 between Phase 2 and other Connections of AC-Source
Fault 2 L3 Checkbox to Activate or Deactivate Fault 2 between Phase 3 and other Connections of AC-Source
Fault 2 GND Checkbox to Activate or Deactivate Fault 2 between Ground and other Connections of AC-Source
Fault 2 to Voltage [p.u.] Relative Voltage of Fault 2 of AC-Source
Fault 2 at Time [s] Start Time and Stop Time of Fault 2 of AC-Source
Fault 3 L1 Checkbox to Activate or Deactivate Fault 3 between Phase 1 and other Connections of AC-Source
Fault 3 L2 Checkbox to Activate or Deactivate Fault 3 between Phase 2 and other Connections of AC-Source
Fault 3 L3 Checkbox to Activate or Deactivate Fault 3 between Phase 3 and other Connections of AC-Source
Fault 3 GND Checkbox to Activate or Deactivate Fault 3 between Ground and other Connections of AC-Source
Fault 3 to Voltage [p.u.] Relative Voltage of Fault 3 of AC-Source
Fault 3 at Time [s] Start Time and Stop Time of Fault 3 of AC-Source