Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ model SM_ElectricalExcited
"Brush loss parameter record" annotation (Dialog(tab="Losses"));
output SI.Voltage ve=pin_ep.v - pin_en.v
"Excitation voltage";
output SI.Current ie=pin_ep.i "Excitation current";
output SI.Current ie(start=0)=pin_ep.i "Excitation current";
Machines.BasicMachines.Components.DamperCage damperCage(
final Lrsigmad=Lrsigmad,
final Lrsigmaq=Lrsigmaq,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ model SMEE_DOL
TrOperational=293.15,
alpha20r=smeeData.alpha20r,
alpha20e=smeeData.alpha20e,
TeOperational=293.15)
TeOperational=293.15,
ie(fixed=true))
annotation (Placement(transformation(extent={{-20,-50},{0,-30}})));
Machines.Sensors.RotorDisplacementAngle rotorDisplacementAngle(p=smee.p, m=m)
annotation (Placement(transformation(
Expand Down Expand Up @@ -132,7 +133,6 @@ model SMEE_DOL
annotation (Placement(transformation(extent={{90,-50},{70,-30}})));
initial equation
smee.is[1:2] = zeros(2);
smee.ie = 0;
//conditional damper cage currents are defined as fixed start values
equation
connect(rotorDisplacementAngle.plug_n, smee.plug_sn) annotation (Line(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ model SMEE_LoadDump
TrOperational=293.15,
alpha20r=smeeData.alpha20r,
alpha20e=smeeData.alpha20e,
TeOperational=293.15)
TeOperational=293.15,
ie(fixed=true))
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
parameter Machines.Utilities.SynchronousMachineData smeeData(
SNominal=30e3,
Expand Down Expand Up @@ -155,7 +156,6 @@ protected
initial equation
smee.idq_sr = zeros(2);
//conditional damper cage currents are defined as fixed start values
smee.ie = 0;
equation
connect(terminalBox.plug_sn, smee.plug_sn) annotation (Line(
points={{4,-20},{4,-20}},
Expand Down Expand Up @@ -214,11 +214,13 @@ equation
points={{-90,40},{-90,50},{-80,50}},
color={0,0,255}));
connect(loadControl.y, switch.control[1]) annotation (Line(
points={{-19,80},{-10,80},{-10,62}}, color={255,0,255}));
points={{-19,80},{-10,80},{-10,61.3333}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the pixel change intentional?

color={255,0,255}));
connect(loadControl.y, switch.control[2]) annotation (Line(
points={{-19,80},{-10,80},{-10,62}}, color={255,0,255}));
connect(loadControl.y, switch.control[3]) annotation (Line(
points={{-19,80},{-10,80},{-10,62}}, color={255,0,255}));
points={{-19,80},{-10,80},{-10,62.6667}},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the pixel change intentional?

color={255,0,255}));
connect(star.pin_n, ground.p) annotation (Line(
points={{-90,20},{-90,10}}, color={0,0,255}));
annotation (experiment(StopTime=10, Interval=1E-4, Tolerance=1e-06), Documentation(info="<html>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ model SMEE_Rectifier
TrOperational=293.15,
alpha20r=smeeData.alpha20r,
alpha20e=smeeData.alpha20e,
TeOperational=293.15)
TeOperational=293.15,
ie(fixed=true))
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
parameter Machines.Utilities.SynchronousMachineData smeeData(
SNominal=30e3,
Expand Down Expand Up @@ -176,7 +177,6 @@ protected
initial equation
smee.is[1:2] = zeros(2);
//conditional damper cage currents are defined as fixed start values
smee.ie = 0;
equation
connect(terminalBox.plug_sn, smee.plug_sn) annotation (Line(
points={{4,-20},{4,-20}},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ model SM_ElectricalExcited
annotation (Dialog(tab="Losses"));
output SI.Voltage ve=pin_ep.v - pin_en.v
"Excitation voltage";
output SI.Current ie=pin_ep.i "Excitation current";
output SI.Current ie(start=0)=pin_ep.i "Excitation current";
// Rotor cage components
Modelica.Blocks.Interfaces.RealOutput ir[2](
start=zeros(2),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ model SMEE_DOL
statorCoreParameters(VRef=100),
strayLoadParameters(IRef=100),
brushParameters(ILinear=0.01),
ie(fixed=true),
ir(each fixed=true),
wMechanical(fixed=true),
m=m,
Expand Down Expand Up @@ -125,7 +126,6 @@ model SMEE_DOL
initial equation
// sum(smee.is) = 0;
smee.is[1:2] = zeros(2);
smee.ie = 0;
//conditional damper cage currents are defined as fixed start values
equation
connect(irRMS, smee.irRMS);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ model SMEE_LoadDump
alpha20r=smeeData.alpha20r,
TrOperational=293.15,
TeOperational=293.15,
alpha20e=smeeData.alpha20e)
alpha20e=smeeData.alpha20e,
ie(fixed=true))
annotation (Placement(transformation(extent={{0,-40},{20,-20}})));
parameter Modelica.Electrical.Machines.Utilities.SynchronousMachineData smeeData(
SNominal=30e3,
Expand Down Expand Up @@ -163,7 +164,6 @@ public
initial equation
smee.airGap.V_msr = Complex(0, 0);
//conditional damper cage currents are defined as fixed start values
smee.ie = 0;
equation
connect(terminalBox.plug_sn, smee.plug_sn) annotation (Line(
points={{4,-20},{4,-20}}, color={0,0,255}));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ model SMEE_Rectifier
statorCoreParameters(VRef=100),
strayLoadParameters(IRef=100),
brushParameters(ILinear=0.01),
ie(fixed=true),
ir(each fixed=true),
Rs=smeeData.Rs*m/3,
Lssigma=smeeData.Lssigma*m/3,
Expand Down Expand Up @@ -182,7 +183,6 @@ protected
initial equation
smee.is[1:2] = zeros(2);
//conditional damper cage currents are defined as fixed start values
smee.ie = 0;
equation
connect(terminalBox.plug_sn, smee.plug_sn) annotation (Line(
points={{4,-20},{4,-20}}, color={0,0,255}));
Expand Down