model VariableVoltageSource "Variable multiphase AC voltage"
extends Interfaces.Source;
Modelica.Blocks.Interfaces.RealInput f annotation (Placement(transformation(
origin = {60, 120},
extent = {
{-20, -20},
{20, 20}},
rotation = 270)));
Modelica.ComplexBlocks.Interfaces.ComplexInput V[m] annotation (Placement(transformation(
origin = {-60, 120},
extent = {
{-20, -20},
{20, 20}},
rotation = 270)));
equation
v = V;
omega = 2 * Modelica.Constants.pi * f;
annotation (
defaultComponentName = "voltageSource",
Icon(graphics = {
Line(
points = {
{-50, 0},
{50, 0}},
color = {85, 170, 255}),
Line(
points = {
{-70, 30},
{-70, 10}},
color = {85, 170, 255}),
Line(
points = {
{-80, 20},
{-60, 20}},
color = {85, 170, 255}),
Line(
points = {
{60, 20},
{80, 20}},
color = {85, 170, 255})}),
Documentation(info = "<html>\n\n<p>\nThis model describes <em>m</em> variable voltage sources, with <em>m</em> complex signal inputs,\nspecifying the complex voltages by the complex RMS voltage components.\nAdditionally, the frequency of the voltage source is defined by a real signal input.\n<em>m</em> <a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sources.VariableVoltageSource\">single phase VariableVoltageSources</a> are used.\n</p>\n\n<h4>See also</h4>\n\n<p>\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.SinglePhase.Sources.VoltageSource\">SinglePhase.VoltageSource</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VoltageSource\">VoltageSource</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.MultiPhase.Sources.CurrentSource\">CurrentSource</a>,\n<a href=\"modelica://Modelica.Electrical.QuasiStationary.MultiPhase.Sources.VariableCurrentSource\">VariableCurrentSource</a>\n</p>\n</html>"));
end VariableVoltageSource;