modelImpedance
Partial model representing a generalized impedance
Extends from IDEAS.Electrical.Interfaces.Load.
Information
This model represents a generalized interface for an impedance.
The model has a single generalized electric terminal of type IDEAS.Electrical.Interfaces.Terminal that can be redeclared. The impedance can be of different types:
- resistive,
- inductive,
- resistive and inductive,
- capacitive, and
- resistive and capacitive.
The values of the resistance R, capacitance C and
inductance L can be
specified as parameters of the model.
The values of the resistance R, capacitance C
and inductance L can also be
specified by using the input variables y_R, y_C,
and y_L that are Real values between [0,1].
These input values are enabled by the boolean flags use_R_in,
use_L_in, and
use_C_in.
Example
If the flag use_R_in = true, the value of R is computed as
R = Rmin + yR (Rmax - Rmin)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | inductive | true | If true, the load is inductive, otherwise it is capacitive |
| Modelica.Units.SI.Resistance | R | 1 | Resistance |
| Modelica.Units.SI.Inductance | L | 0 | Inductance |
| Modelica.Units.SI.Capacitance | C | 0 | Capacitance |
| Variable load › Resistance | |||
| Boolean | use_R_in | false | If true, R is specified by an input |
| Modelica.Units.SI.Resistance | RMin | 1e-4 | Minimum value of the resistance |
| Modelica.Units.SI.Resistance | RMax | 1e2 | Maximum value of the resistance |
| Variable load › Capacitance | |||
| Boolean | use_C_in | false | If true, C is specified by an input |
| Modelica.Units.SI.Capacitance | CMin | 1e-4 | Minimum value of the capacitance |
| Modelica.Units.SI.Capacitance | CMax | 1e2 | Maximum value of the capacitance |
| Variable load › Inductance | |||
| Boolean | use_L_in | false | If true, L is specified by an input |
| Modelica.Units.SI.Inductance | LMin | 1e-4 | Minimum value of the inductance |
| Modelica.Units.SI.Inductance | LMax | 1e2 | Maximum value of the inductance |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | y_R | Input that sepecify variable R | |
| Modelica.Blocks.Interfaces.RealInput | y_C | Input that sepecify variable C | |
| Modelica.Blocks.Interfaces.RealInput | y_L | Input that sepecify variable L |
Revisions
-
May 15, 2014, by Marco Bonvini:
Created documentation.