modelComplexCalculation
Complex calculation
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
Descriptiomn
This example investigates a series connection of a complex electrical circuit based on equations.
Plot the following variable(s)
I.imversusI.re: locus of complex currentS.imversusS.re: locus of complex appranet power
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.ComplexImpedance | Z1 | Complex(10, 2) | Impedance Z1 = (10+j*2) Ohm |
| Modelica.Units.SI.Impedance | Z2abs | 50 | Magnitude of complex impedance Z2 |
| Modelica.Units.SI.AngularVelocity | w | 2*Modelica.Constants.pi | Angular velocity of impedance angle Z2 |
| Modelica.Units.SI.ComplexVoltage | V | Complex(100, 0) | Total voltage |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.ComplexImpedance | Z2 | Complex impedance with varying angle | |
| Modelica.Units.SI.ComplexCurrent | I | Total current | |
| Modelica.Units.SI.ComplexPower | S | Total apparent power |