# Grid simulator

Description of the Grid Simulator component in Schematic Editor

The Grid Simulator is a component which consists of three single phase voltage sources, series resistances and inductances. It is used to simulate a three phase symmetric or asymmetric grid.

The internal structure of the Grid Simulator is shown in Figure 1. Phase voltage, line voltage and phase current measurements are included, as shown in Figure 1. In Table 1 the schematic symbol and properties window of grid simulator are shown.

Table 1. Grid Simulator in HIL Toolbox
component component dialog window component parameters

Grid Simulator

• Model definition: R-L, S-U, or S-U and X/R
• Nominal line voltage (V)
• Nominal frequency (Hz)
• Resistance per phase (Ω)
• Inductance per phase (H)
• Short circuit capacity (VA)
• Inductive power factor
• X/R ratio

The list of measurements available in the grid simulator is shown in Internal analog measurements of the grid simulator.

## Calculation from S-U to R-L

$R=\frac{pf\bullet {{V}_{b}}^{2}}{{S}_{b}}$

$L=\frac{\frac{{{V}_{b}}^{2}}{{S}_{b}}\bullet {\left(1-{pf}^{2}\right)}^{0.5}}{2\bullet \pi \bullet f}$

## Calculation from S-U and X/R to R-L

$R=\frac{{{V}_{b}}^{2}}{{S}_{b}\bullet {\left(1+{\left(X/R\right)}^{2}\right)}^{0.5}}$

$L=R\bullet \frac{X/R}{2\bullet \pi \bullet f}$

• R - resistance
• L - inductance
• Vb - nominal line voltage
• f - frequency
• Sb - short circuit capacity
• pf - inductive power factor
• X/R - x/r ratio

## Internal analog measurements of the grid simulator

Analog output variable name Description
(name).I_phase_A Phase A current.
(name).I_phase_B Phase B current.
(name).I_phase_C Phase C current.
(name).V_phase_A Phase A voltage.
(name).V_phase_B Phase B voltage.
(name).V_phase_C Phase C voltage.
(name).V_source_phase_A Phase A source voltage.
(name).V_source_phase_B Phase B source voltage.
(name).V_source_phase_C Phase C source voltage.
(name).V_AB A-B line voltage.
(name).V_BC B-C line voltage.
(name).V_CA C-A line voltage.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 4, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.46500518918037415, "perplexity": 17684.018304571255}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2021-17/segments/1618038073437.35/warc/CC-MAIN-20210413152520-20210413182520-00145.warc.gz"}