- Index
- » Users
- » claudio34
- » Profile
Posts
Posts
facebook group of modelica https://www.facebook.com/groups/9375876 … 1/?fref=ts
very interesting, there is a big difference from Dymola and OM? i use Dymola on month in trial version, i think is more more easy than openmodelica, openmodelica is very difficult for boundary conditions. I use modelica for general engineering, hidraulic plants, metallic beam structures, electric vehicle powertrain. My work www.nanoride.it
What do you use for? What is you work?
Thank you for the file
do you use dymola? can you send me the model? res@nanoride.it
a 3-phase inverter, i'm very interested in 3-phase inverter? your inverter works good with openmodelica? I'm electric engineer i'm interested in electrical model simulations
for example a model like this with 3 tanks and one pump, please take a look to the photo http://i.imgur.com/FhT8BXL.jpg
foto 3 tanks model
The models must works good in openmodelica not only in Dymola
Is it possible to build a 3D truss/beam model in openmodelica? There is a guide to 3D models?
I'm looking for paid consultants to create mechanical or hydraulic and electric models in modelica. I might have a few clients that they commissioned a work to me and I could come to you. Is there any of you who already does this job .I'm also interested in paid advice to help me solve my problems with openmodelica
Is there anyone of you interested?
Is there anyone of you interested? Please send me a PM or write here your mail
the model pass the check but simulation has non graphic results, Compilation process finished successfully. Report simulation process on this image http://i.imgur.com/SQeSgEB.jpg
model T5 "Demonstrating the usage of SimpleTank"
import Modelica.Fluid;
// replaceable package Medium = Modelica.Fluid.Media.Water.ConstantPropertyLiquidWater extends
// replaceable package Medium = Modelica.Media.Water.StandardWaterOnePhase extends
// replaceable package Medium = Modelica.Media.Incompressible.Examples.Glycol47 extends
replaceable package Medi = Modelica.Media.Water.ConstantPropertyLiquidWater constrainedby Modelica.Media.Interfaces.PartialMedium "Medium in the component" annotation(choicesAllMatching = true);
Modelica.Fluid.Vessels.OpenTank tank1(redeclare package Medium = Medi, crossArea = 1, height = 12, level_start = 12, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}, use_portsData = true) annotation(Placement(visible = true, transformation(extent = {{-100, 60}, {-60, 100}}, rotation = 0)));
Modelica.Fluid.Vessels.OpenTank tank2(redeclare package Medium = Medi, crossArea = 1, height = 12, level_start = 2, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}, use_portsData = true) annotation(Placement(visible = true, transformation(extent = {{-24, 60}, {16, 100}}, rotation = 0)));
inner Modelica.Fluid.System system(energyDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial) annotation(Placement(visible = true, transformation(extent = {{106, 70}, {126, 90}}, rotation = 0)));
Modelica.Fluid.Vessels.OpenTank tank3(crossArea = 1, redeclare package Medium = Medi, use_portsData = true, height = 12, level_start = 3, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}) annotation(Placement(visible = true, transformation(extent = {{40, 60}, {80, 100}}, rotation = 0)));
Modelica.Fluid.Pipes.StaticPipe pipe1(redeclare package Medium = Medi, allowFlowReversal = true, height_ab = 2, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {-80, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe2(redeclare package Medium = Medi, allowFlowReversal = true, height_ab = 2, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {-4, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe3(redeclare package Medium = Medi, allowFlowReversal = true, height_ab = -1, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {60, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe4(redeclare package Medium = Medi, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {-80, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe5(redeclare package Medium = Medi, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {-4, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe6(redeclare package Medium = Medi, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {60, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete1(redeclare package Medium = Medi, dp_nominal = 1000, m_flow_nominal = 1, opening_min = 0.1) annotation(Placement(visible = true, transformation(origin = {-80, -16}, extent = {{-8, -8}, {8, 8}}, rotation = -90)));
Modelica.Blocks.Sources.BooleanStep booleanStep1(startTime = 10) annotation(Placement(visible = true, transformation(origin = {-56, -16}, extent = {{8, -8}, {-8, 8}}, rotation = 0)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete2(redeclare package Medium = Medi, dp_nominal = 1000, m_flow_nominal = 1, opening_min = 0) annotation(Placement(visible = true, transformation(origin = {-4, -14}, extent = {{-8, -8}, {8, 8}}, rotation = -90)));
Modelica.Blocks.Sources.BooleanStep booleanStep2(startTime = 30) annotation(Placement(visible = true, transformation(origin = {20, -14}, extent = {{8, -8}, {-8, 8}}, rotation = 0)));
Modelica.Blocks.Sources.BooleanStep booleanStep3(startTime = 60) annotation(Placement(visible = true, transformation(origin = {88, -12}, extent = {{8, -8}, {-8, 8}}, rotation = 0)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete3(redeclare package Medium = Medi, dp_nominal = 2000, m_flow_nominal = 1) annotation(Placement(visible = true, transformation(origin = {60, -12}, extent = {{-8, -8}, {8, 8}}, rotation = -90)));
Modelica.Blocks.Sources.Step step1(height = 100, startTime = 20) annotation(Placement(visible = true, transformation(origin = {-41, -37}, extent = {{-9, -9}, {9, 9}}, rotation = -90)));
Modelica.Fluid.Sources.MassFlowSource_T source1(redeclare package Medium = Medi,m_flow = 10, nPorts = 1) annotation(Placement(visible = true, transformation(origin = {-54, -86}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(pipe5.port_a, source1.ports[1]) annotation(Line(points = {{-4, -60}, {-6, -60}, {-6, -86}, {-44, -86}, {-44, -86}}, color = {0, 127, 255}));
connect(pipe5.port_a, pipe4.port_a) annotation(Line(points = {{-4, -60}, {-80, -60}, {-80, -60}, {-80, -60}}, color = {0, 127, 255}));
connect(booleanStep3.y, valveDiscrete3.open) annotation(Line(points = {{79, -12}, {66, -12}}, color = {255, 0, 255}));
connect(valveDiscrete3.port_b, pipe6.port_b) annotation(Line(points = {{60, -20}, {60, -20}, {60, -40}, {60, -40}}, color = {0, 127, 255}));
connect(pipe3.port_a, valveDiscrete3.port_a) annotation(Line(points = {{60, 14}, {60, 14}, {60, -4}, {60, -4}}, color = {0, 127, 255}));
connect(valveDiscrete3.port_b, pipe6.port_b) annotation(Line(points = {{60, -22}, {60, -22}, {60, -40}, {60, -40}}, color = {0, 127, 255}));
connect(valveDiscrete3.port_a, pipe3.port_a) annotation(Line(points = {{60, -6}, {60, -6}, {60, 14}, {60, 14}}, color = {0, 127, 255}));
connect(valveDiscrete1.open, booleanStep1.y) annotation(Line(points = {{-74, -16}, {-65, -16}}, color = {255, 0, 255}));
connect(booleanStep2.y, valveDiscrete2.open) annotation(Line(points = {{11, -14}, {2, -14}}, color = {255, 0, 255}));
connect(valveDiscrete2.port_b, pipe5.port_b) annotation(Line(points = {{-4, -22}, {-4, -22}, {-4, -40}, {-4, -40}}, color = {0, 127, 255}));
connect(valveDiscrete2.port_a, pipe2.port_a) annotation(Line(points = {{-4, -6}, {-4, -6}, {-4, 14}, {-4, 14}}, color = {0, 127, 255}));
connect(valveDiscrete1.port_b, pipe4.port_b) annotation(Line(points = {{-80, -24}, {-80, -24}, {-80, -40}, {-80, -40}}, color = {0, 127, 255}));
connect(valveDiscrete1.port_a, pipe1.port_a) annotation(Line(points = {{-80, -8}, {-80, -8}, {-80, 14}, {-80, 14}}, color = {0, 127, 255}));
connect(pipe5.port_a, pipe6.port_a) annotation(Line(points = {{-4, -60}, {60, -60}, {60, -60}, {60, -60}}, color = {0, 127, 255}));
connect(pipe2.port_b, tank2.ports[1]) annotation(Line(points = {{-4, 34}, {-4, 60}}, color = {0, 127, 255}));
connect(pipe3.port_b, tank3.ports[1]) annotation(Line(points = {{60, 34}, {60, 60}}, color = {0, 127, 255}));
connect(pipe1.port_b, tank1.ports[1]) annotation(Line(points = {{-80, 34}, {-80, 60}}, color = {0, 127, 255}));
annotation(experiment(StopTime = 200), __Dymola_Commands(file = "modelica://Modelica/Resources/Scripts/Dymola/Fluid/ThreeTanks/plot level and port.m_flow.mos" "plot level and port.m_flow"), Documentation(info = "<html>
<img src=\"modelica://Modelica/Resources/Images/Fluid/Examples/ThreeTanks.png\" border=\"1\"
alt=\"ThreeTanks.png\">
</html>"), uses(Modelica(version = "3.2.2")));
end T5;
public your question in facebook modelcia group https://www.facebook.com/groups/9375876 … 1/?fref=ts
i update the path, no message error, the simulation start but there are graphical results ( for example mass flow in pipes or tank liquid level) only with no valve in the circuit? why valve don't open?
simulation debugger: "Process failed to start: No such file or directory GDB arguments are "-q -nw -i mi --args C:/Users/DELL_W~1/AppData/Local/Temp/OpenModelica/OMEdit/T4.exe""
why???
model T4 "Demonstrating the usage of SimpleTank"
import Modelica.Fluid;
// replaceable package Medium = Modelica.Fluid.Media.Water.ConstantPropertyLiquidWater extends
// replaceable package Medium = Modelica.Media.Water.StandardWaterOnePhase extends
// replaceable package Medium = Modelica.Media.Incompressible.Examples.Glycol47 extends
replaceable package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater constrainedby Modelica.Media.Interfaces.PartialMedium "Medium in the component" annotation(choicesAllMatching = true);
Modelica.Fluid.Vessels.OpenTank tank1(redeclare package Medium = Medium, crossArea = 1, height = 12, level_start = 12, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}, use_portsData = true) annotation(Placement(visible = true, transformation(extent = {{-100, 60}, {-60, 100}}, rotation = 0)));
Modelica.Fluid.Vessels.OpenTank tank2(redeclare package Medium = Medium, crossArea = 1, height = 12, level_start = 2, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}, use_portsData = true) annotation(Placement(visible = true, transformation(extent = {{-24, 60}, {16, 100}}, rotation = 0)));
inner Modelica.Fluid.System system(energyDynamics = Modelica.Fluid.Types.Dynamics.FixedInitial) annotation(Placement(visible = true, transformation(extent = {{106, 70}, {126, 90}}, rotation = 0)));
Modelica.Fluid.Vessels.OpenTank tank3(crossArea = 1, redeclare package Medium = Medium, use_portsData = true, height = 12, level_start = 3, nPorts = 1, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}) annotation(Placement(visible = true, transformation(extent = {{40, 60}, {80, 100}}, rotation = 0)));
Modelica.Fluid.Pipes.StaticPipe pipe1(redeclare package Medium = Medium, allowFlowReversal = true, height_ab = 2, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {-80, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe2(redeclare package Medium = Medium, allowFlowReversal = true, height_ab = 2, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {-4, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe3(redeclare package Medium = Medium, allowFlowReversal = true, height_ab = -1, length = 2, diameter = 0.1) annotation(Placement(visible = true, transformation(origin = {60, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete1(redeclare package Medium = Medium, m_flow_nominal = 1) annotation(Placement(visible = true, transformation(origin = {-80, -9}, extent = {{-9, -8}, {9, 8}}, rotation = -90)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete2(redeclare package Medium = Medium, m_flow_nominal = 1) annotation(Placement(visible = true, transformation(origin = {-4, -9}, extent = {{-9, -8}, {9, 8}}, rotation = -90)));
Modelica.Fluid.Valves.ValveDiscrete valveDiscrete3(redeclare package Medium = Medium, m_flow_nominal = 1) annotation(Placement(visible = true, transformation(origin = {60, -9}, extent = {{-9, -8}, {9, 8}}, rotation = -90)));
Modelica.Fluid.Pipes.StaticPipe pipe4(redeclare package Medium = Medium, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {-80, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe5(redeclare package Medium = Medium, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {-4, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Fluid.Pipes.StaticPipe pipe6(redeclare package Medium = Medium, diameter = 0.1, length = 10) annotation(Placement(visible = true, transformation(origin = {60, -50}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Blocks.Sources.BooleanStep booleanStep1(startTime = 2) annotation(Placement(visible = true, transformation(origin = {-50, -2.22045e-16}, extent = {{8, -8}, {-8, 8}}, rotation = 0)));
Modelica.Blocks.Sources.BooleanStep booleanStep2(startTime = 1) annotation(Placement(visible = true, transformation(origin = {27, -3}, extent = {{9, -9}, {-9, 9}}, rotation = 0)));
Modelica.Blocks.Sources.BooleanStep booleanStep3(startTime = 6) annotation(Placement(visible = true, transformation(origin = {102, 12}, extent = {{8, -8}, {-8, 8}}, rotation = 0)));
equation
connect(valveDiscrete3.open, booleanStep3.y) annotation(Line(points = {{66, -8}, {77, -8}, {77, 12}, {93, 12}}, color = {255, 0, 255}));
connect(booleanStep2.y, valveDiscrete2.open) annotation(Line(points = {{17, -3}, {2, -3}, {2, -8}}, color = {255, 0, 255}));
connect(valveDiscrete1.open, booleanStep1.y) annotation(Line(points = {{-74, -8}, {-66.5, -8}, {-66.5, 0}, {-59, 0}}, color = {255, 0, 255}));
connect(pipe5.port_a, pipe6.port_a) annotation(Line(points = {{-4, -60}, {60, -60}, {60, -60}, {60, -60}}, color = {0, 127, 255}));
connect(pipe4.port_a, pipe5.port_a) annotation(Line(points = {{-80, -60}, {-4, -60}, {-4, -60}, {-4, -60}}, color = {0, 127, 255}));
connect(valveDiscrete3.port_b, pipe6.port_b) annotation(Line(points = {{60, -18}, {60, -18}, {60, -40}, {60, -40}}, color = {0, 127, 255}));
connect(valveDiscrete2.port_b, pipe5.port_b) annotation(Line(points = {{-4, -18}, {-4, -18}, {-4, -40}, {-4, -40}}, color = {0, 127, 255}));
connect(valveDiscrete1.port_b, pipe4.port_b) annotation(Line(points = {{-80, -18}, {-80, -18}, {-80, -40}, {-80, -40}}, color = {0, 127, 255}));
connect(pipe3.port_a, valveDiscrete3.port_a) annotation(Line(points = {{60, 14}, {60, 14}, {60, 0}, {60, 0}}, color = {0, 127, 255}));
connect(pipe2.port_a, valveDiscrete2.port_a) annotation(Line(points = {{-4, 14}, {-4, 14}, {-4, 0}, {-4, 0}}, color = {0, 127, 255}));
connect(pipe1.port_a, valveDiscrete1.port_a) annotation(Line(points = {{-80, 14}, {-80, 14}, {-80, 0}, {-80, 0}}, color = {0, 127, 255}));
connect(pipe2.port_b, tank2.ports[1]) annotation(Line(points = {{-4, 34}, {-4, 60}}, color = {0, 127, 255}));
connect(pipe3.port_b, tank3.ports[1]) annotation(Line(points = {{60, 34}, {60, 60}}, color = {0, 127, 255}));
connect(pipe1.port_b, tank1.ports[1]) annotation(Line(points = {{-80, 34}, {-80, 60}}, color = {0, 127, 255}));
annotation(experiment(StopTime = 200), __Dymola_Commands(file = "modelica://Modelica/Resources/Scripts/Dymola/Fluid/ThreeTanks/plot level and port.m_flow.mos" "plot level and port.m_flow"), Documentation(info = "<html>
<img src=\"modelica://Modelica/Resources/Images/Fluid/Examples/ThreeTanks.png\" border=\"1\"
alt=\"ThreeTanks.png\">
</html>"), uses(Modelica(version = "3.2.2")));
end T4;
i understand now, in every component/class parentesi i put this: redeclare package Medium = Medium, and the entire model work good
a model that works good alone
model tanks
import Modelica.Fluid;
replaceable package Medium = Modelica.Media.Water.ConstantPropertyLiquidWater constrainedby Modelica.Media.Interfaces.PartialMedium "Medium in the component" annotation(choicesAllMatching = true);
final Modelica.Fluid.Vessels.OpenTank tank1(redeclare package Medium = Medium, height = 80, crossArea = 20, nPorts = 1, level_start = 70, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}) annotation(Placement(visible = true, transformation(origin = {-60, 60}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
final Modelica.Fluid.Vessels.OpenTank tank2(redeclare package Medium = Medium, height = 80, crossArea = 20, nPorts = 1, level_start = 0.0, portsData = {Modelica.Fluid.Vessels.BaseClasses.VesselPortsData(diameter = 0.1)}) annotation(Placement(visible = true, transformation(origin = {0, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Fluid.Pipes.StaticPipe pipe(redeclare package Medium = Medium, allowFlowReversal = true, length = 2, diameter = 0.5, height_ab = 0) annotation(Placement(visible = true, transformation(origin = {-35, 15}, extent = {{-5, -5}, {5, 5}}, rotation = 0)));
inner Modelica.Fluid.System system annotation(Placement(visible = true, transformation(origin = {0, -20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(tank1.ports[1], pipe.port_a) annotation(Line(points = {{-60, 50}, {-40.1478, 50}, {-40.1478, 15.0246}, {-40.1478, 15.0246}}));
connect(pipe.port_b, tank2.ports[1]) annotation(Line(points = {{-30, 15}, {-2.70936, 15}, {-2.70936, 9.85222}, {-2.70936, 9.85222}}));
annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
end tanks;
adrpo wrote:
What do you mean? If you're asking for the Modelica Language specification is here: https://www.modelica.org/documents/
thank you
I don't understand how to intervene in my case, reading your link I don't found an understandable solution
THANK YOU , where is language specification? is it norrmally openmodelica guide?
any model thate i have give the same error: component tank1 contains the definition of a partial class Medium. Please redeclare it to any package compatible with Modelica.Media.Interfaces.PartialMedium.
image link http://imgur.com/THKnBIo
thank you so much, but can i resolve with initial conditions? for example for arrary A[m] (start m=3) ?
A frequent problem during OpenModelica compiling/simulations: "Array dimensions must be known at compile time".
How to resolve this problem?
In Dymola there isn't those problems. Why?
what is the meaning of this code number?
I understand but the problem in modelica is find the array that have no "each" inizialization
Electrical Machines and Magnetic Machines
The object is the same in graphics and behaviour: what are the difference?
For example: permanent AC motor magnent in electrical library works like permanent AC motor magnent in electrical library in magnetic library. What are the phisical difference?
after compiling simulation appear this message: "Warning: maximal number of iteration reached but no root found" . Why?
http://imageshack.com/a/img907/5631/KJFoZK.jpg
FCSys Modelica fuel cell library: http://kdavies4.github.io/FCSys/index.html#FCSys
it is not possible to open FCSys libraries in Openmodelica that go in crash, why?
in dymola i can open the component within the library.
Do you have a clear explane to explain how to use the "within" keyword? in the guides it's not clear, do you have a pratical example please?
A very important feature in order to build reusable descriptions is to define and reuse partial models. For Example A common property of many electrical components is that they have two pins. This means that it is useful to define an interface model class TwoPin, which has two pins, p and
n, and a quantity, v, which defines the voltage drop across the component.
partial model TwoPin
Pin p, n;
Voltage v;
equation
v = p.v - n.v; p.i + n.i = 0;
end TwoPin;
The equations define common relations between quantities of a simple electrical component.
The keyword partial indicates that the model class is incomplete. To be useful, a constitutive equation must be added. To define a model for a resistor, start from TwoPin and add a parameter for the resistance and Ohm’s law to define the behavior.
model Resistor "Ideal resistor"
extends TwoPin;
parameter Resistance R;
equation
R*p.i = v;
end Resistor;
A string between the name of a class and its body is treated as a comment attribute and is
intended to describe the class. Tools may display this documentation in special ways. The
keyword parameter specifies that the quantity is constant during a simulation experiment,
but can change values between experiments.
Thank you so much, the models works good. I made only four simple corrections. There is only thing that i don't undestand: simulations of PowerConverters.Examples.DCAC.MultiPhaseTwoLevel.MultiPhaseTwoLevel_RL works good but appear hundreds of those written after compilation: "Warning: maximal number of iteration reached but no root found"
thank a lot, i'm not a member of modelica association, so now i send a mail by the form in page https://www.modelica.org/contact-info for ask him if I can have this library (Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTewoLevel_R ) also paying a contribution. Bye
Do you have a guide to learn debugging with OpenModelica please?
Those of you using Modelica Development Tooling (ADT) Eclipse Plugin?
Thanks anyway
thank you so much but there is a strange situation, in my model there are not array declaration:
model IdThreeLegs_battery_motore3 "Switches ideali Una gamba pwm"
import SIM = Modelica.SIunits;
import Modelica.Constants.pi;
parameter Modelica.SIunits.Torque TLoad = 181.4 "Nominal load torque";
parameter Modelica.SIunits.Time tStep = 1.2 "Time of load torque step";
parameter Modelica.SIunits.Inertia JLoad = 0.29 "Load's moment of inertia";
Modelica.Blocks.Sources.Constant ampl(k = 0.7);
Modelica.Blocks.Sources.Constant phase(k = 0);
PwmPulser pwmPulser;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu;
Modelica.Electrical.Analog.Basic.Resistor Load(R = 30);
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 634e-6);
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor;
Modelica.Electrical.Analog.Basic.Ground ground;
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001);
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.125);
Modelica.Blocks.Math.Mean mean1(f = 1000);
EHPowerTrain.SupportModels.Batt1 batt(SOCInit = 0.9, QCellNom = 50 * 3600.0, ns = 100, np = 3);
Modelica.Blocks.Sources.Constant ampl1(k = 0.7);
Modelica.Blocks.Sources.Constant phase1(k = 0);
PwmPulser pwmPulser1;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd1;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu1;
Modelica.Electrical.Analog.Basic.Resistor Load1(R = 30);
Modelica.Electrical.Analog.Basic.Capacitor Cf1(C = 634e-6);
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor1;
Modelica.Electrical.Analog.Basic.Inductor Lf1(L = 0.001);
Modelica.Electrical.Analog.Basic.Resistor Rf1(R = 0.125);
Modelica.Blocks.Math.Mean mean2(f = 1000);
Modelica.Blocks.Sources.Constant ampl2(k = 0.7);
Modelica.Blocks.Sources.Constant phase2(k = 0);
PwmPulser pwmPulser2;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd2;
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu2;
Modelica.Electrical.Analog.Basic.Resistor Load2(R = 30);
Modelica.Electrical.Analog.Basic.Capacitor Cf2(C = 634e-6);
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor2;
Modelica.Electrical.Analog.Basic.Inductor Lf2(L = 0.001);
Modelica.Electrical.Analog.Basic.Resistor Rf2(R = 0.125);
Modelica.Blocks.Math.Mean mean3(f = 1000);
Modelica.Electrical.MultiPhase.Basic.PlugToPin_p plugToPin_p1(k = 1);
Modelica.Electrical.MultiPhase.Basic.PlugToPin_p plugToPin_p2(k = 2);
Modelica.Electrical.MultiPhase.Basic.PlugToPin_p plugToPin_p(k = 3);
Modelica.Electrical.Machines.Sensors.CurrentQuasiRMSSensor currentQuasiRMSSensor1;
Modelica.Electrical.Machines.BasicMachines.SynchronousInductionMachines.SM_PermanentMagnet
smpm(p = smpmData.p, fsNominal = smpmData.fsNominal, Rs = smpmData.Rs, TsRef = smpmData.TsRef, Lszero = smpmData.Lszero, Lssigma = smpmData.Lssigma, Jr = smpmData.Jr, Js = smpmData.Js, frictionParameters = smpmData.frictionParameters, phiMechanical(fixed = true), wMechanical(fixed = true), statorCoreParameters = smpmData.statorCoreParameters, strayLoadParameters = smpmData.strayLoadParameters, VsOpenCircuit = smpmData.VsOpenCircuit, Lmd = smpmData.Lmd, Lmq = smpmData.Lmq, useDamperCage = smpmData.useDamperCage, Lrsigmad = smpmData.Lrsigmad, Lrsigmaq = smpmData.Lrsigmaq, Rrd = smpmData.Rrd, Rrq = smpmData.Rrq, TrRef = smpmData.TrRef, permanentMagnetLossParameters = smpmData.permanentMagnetLossParameters, ir(fixed = true), TsOperational = 293.15, alpha20s = smpmData.alpha20s, TrOperational = 293.15, alpha20r = smpmData.alpha20r);
Modelica.Electrical.Machines.Sensors.RotorDisplacementAngle rotorDisplacementAngle1(p = smpm.p);
Modelica.Mechanics.Rotational.Components.Inertia loadInertia1(J = JLoad);
Modelica.Mechanics.Rotational.Sources.TorqueStep loadTorqueStep1(startTime = tStep, stepTorque = -TLoad, useSupport = false, offsetTorque = 0);
Modelica.Electrical.Machines.Utilities.TerminalBox terminalBox(terminalConnection = "Y");
parameter
Modelica.Electrical.Machines.Utilities.ParameterRecords.SM_PermanentMagnetData
smpmData;
EHPowerTrain.SupportModels.Batt1 batt1_1;
equation
connect(Rf.p, SWu.n);
connect(terminalBox.plugSupply, currentQuasiRMSSensor1.plug_n);
connect(terminalBox.plug_sp, smpm.plug_sp);
connect(terminalBox.plug_sn, smpm.plug_sn);
connect(loadInertia1.flange_b, loadTorqueStep1.flange);
connect(smpm.flange, loadInertia1.flange_a);
connect(smpm.flange, rotorDisplacementAngle1.flange);
connect(rotorDisplacementAngle1.plug_p, smpm.plug_sp);
connect(rotorDisplacementAngle1.plug_n, smpm.plug_sn);
connect(potentialSensor.phi, mean1.u);
connect(Lf.p, Rf.n);
connect(Load.p, Lf.n);
connect(Cf.p, Lf.n);
connect(potentialSensor.p, Load.p);
connect(SWu.n, SWd.p);
connect(pwmPulser.Top, SWd.control);
connect(pwmPulser.Bot, SWu.control);
connect(ampl.y, pwmPulser.Ampl);
connect(phase.y, pwmPulser.Ph_deg);
connect(ground.p, batt.n);
connect(SWu.p, batt.p);
connect(batt.n, SWd.n);
connect(potentialSensor1.phi, mean2.u);
connect(Rf1.p, SWu1.n);
connect(Lf1.p, Rf1.n);
connect(Load1.p, Lf1.n);
connect(Cf1.p, Lf1.n);
connect(potentialSensor1.p, Load1.p);
connect(SWu1.n, SWd1.p);
connect(pwmPulser1.Top, SWd1.control);
connect(pwmPulser1.Bot, SWu1.control);
connect(ampl1.y, pwmPulser1.Ampl);
connect(phase1.y, pwmPulser1.Ph_deg);
connect(SWu1.p, batt.p);
connect(SWd1.n, SWd.n);
connect(potentialSensor2.phi, mean3.u);
connect(Rf2.p, SWu2.n);
connect(Lf2.p, Rf2.n);
connect(Load2.p, Lf2.n);
connect(Cf2.p, Lf2.n);
connect(potentialSensor2.p, Load2.p);
connect(SWu2.n, SWd2.p);
connect(pwmPulser2.Top, SWd2.control);
connect(pwmPulser2.Bot, SWu2.control);
connect(ampl2.y, pwmPulser2.Ampl);
connect(phase2.y, pwmPulser2.Ph_deg);
connect(SWd2.n, SWd.n);
connect(SWu2.p, batt.p);
connect(Load.n, plugToPin_p1.pin_p);
connect(Cf.n, plugToPin_p1.pin_p);
connect(Load1.n, plugToPin_p2.pin_p);
connect(plugToPin_p2.pin_p, Cf1.n);
connect(Cf2.n, plugToPin_p.pin_p);
connect(plugToPin_p.pin_p, Load2.n);
connect(currentQuasiRMSSensor1.plug_p, plugToPin_p.plug_p);
connect(plugToPin_p2.plug_p, currentQuasiRMSSensor1.plug_p);
connect(plugToPin_p1.plug_p, currentQuasiRMSSensor1.plug_p);
end IdThreeLegs_battery_motore3
check of model is ok During translation appear this error: " Non-array modification 'true' for array component, possibly due to missing 'each' " . What is the meaning of this error?
Translation Avvertimento
[invPWMPkg2015: 1143:866-1143:878]: Non-array modification 'true' for array component, possibly due to missing 'each'.
every time in line 1143 , also this line is empty!!!
The model pass the check , compilator and simulation start but the simulation don't give results and appear:
[6] 11:11:27 Translation Errore
[Modelica.Electrical.Machines: 12940:7-12945:42]: Variable smpm.statorCoreParameters: Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricPotential", unit = "V"), C_CONST), value: 100.0 on component VRef.
[7] 11:11:27 Translation Errore
[Modelica.Electrical.Machines: 12940:7-12945:42]: Variable smpm.statorCoreParameters: Duplicate modification of element final = (typed)3 DAE.PROP(Integer, C_CONST), value: 3 and = (typed)3 DAE.PROP(Integer, C_CONST), value: 3 on component m.
[8] 11:11:27 Translation Errore
Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricPotential", unit = "V"), C_CONST), value: 100.0 on component VRef.
[9] 11:11:27 Translation Errore
[Modelica.Electrical.Machines: 12946:7-12948:77]: Variable smpm.strayLoadParameters: Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricCurrent", unit = "A"), C_CONST), value: 100.0 on component IRef.
[10] 11:11:27 Translation Errore
[Modelica.Electrical.Machines: 5364:9-5367:44]: Variable smpm.permanentMagnetLossParameters: Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricCurrent", unit = "A"), C_CONST), value: 100.0 on component IRef.
[11] 11:11:27 Translation Errore
[Modelica.Electrical.Machines: 5364:9-5367:44]: Variable smpm.permanentMagnetLossParameters: Duplicate modification of element {start = (typed)6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.p) DAE.PROP(Real, C_PARAM), value: 157.0796326794897} and = (typed)157.0796326794897 DAE.PROP(Real(displayUnit = "1/min", min = 1e-060, quantity = "AngularVelocity", unit = "rad/s"), C_CONST), value: 157.0796326794897 on component wRef.
[12] 11:11:27 Translation Errore
Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricCurrent", unit = "A"), C_CONST), value: 100.0 on component IRef.
[13] 11:11:27 Translation Errore
Duplicate modification of element {start = (typed)6.283185307179586 * smpm.fsNominal / /*Real*/(smpm.p) DAE.PROP(Real, C_PARAM), value: 157.0796326794897} and = (typed)157.0796326794897 DAE.PROP(Real(displayUnit = "1/min", min = 1e-060, quantity = "AngularVelocity", unit = "rad/s"), C_CONST), value: 157.0796326794897 on component wRef.
[14] 11:11:27 Translation Avvertimento
[invPWMPkg2015.IdThreeLegs_battery_motore3: 45:864-45:876]: Non-array modification 'true' for array component, possibly due to missing 'each'.
[15] 11:19:55 Translation Errore
[Modelica.Electrical.Machines: 12940:7-12945:42]: Variable aimc.statorCoreParameters: Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricPotential", unit = "V"), C_CONST), value: 100.0 on component VRef.
[16] 11:19:55 Translation Errore
[Modelica.Electrical.Machines: 12940:7-12945:42]: Variable aimc.statorCoreParameters: Duplicate modification of element final = (typed)3 DAE.PROP(Integer, C_CONST), value: 3 and = (typed)3 DAE.PROP(Integer, C_CONST), value: 3 on component m.
[17] 11:19:55 Translation Errore
Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricPotential", unit = "V"), C_CONST), value: 100.0 on component VRef.
[18] 11:19:55 Translation Errore
[Modelica.Electrical.Machines: 12946:7-12948:77]: Variable aimc.strayLoadParameters: Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricCurrent", unit = "A"), C_CONST), value: 100.0 on component IRef.
[19] 11:19:55 Translation Errore
Duplicate modification of element {start = (typed)100 DAE.PROP(Integer, C_CONST), value: 100} and = (typed)100.0 DAE.PROP(Real(min = 1e-060, quantity = "ElectricCurrent", unit = "A"), C_CONST), value: 100.0 on component IRef.
Thanks for your answer. If you are busy you can not respond, do not let problems. I would use the model three-phase inverter 1 but I get this error message.
With dymola every works good but I have temporary dymola license
Now every model threephase pass the check, Compilation process finished successfully but there are no results in simulation an appear the errors:
stdout | OMEditInfo | <p>C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/FILE/SETTEMBRE 2015/invPWMPkg2015.IdPwmTrif1.exe -port=55042 -logFormat=xml -override=startTime=0,stopTime=0.1,stepSize=0.0002,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -r=invPWMPkg2015.IdPwmTrif1_res.mat -dasslJacobian=coloredNumerical -w -lv=LOG_STATS</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 128) at time 0.000000, system is singular for U[2, 2].</p>
stdout | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
stdout | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>[1] Real S2.n.v(start=0, nominal=1)</p>
LOG_LS | warning | <p>[2] Real S6.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[3] Real S2.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[4] Real S1.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[5] Real S4.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[6] Real S5.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[7] Real S3.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
stdout | info | <p>model terminate | linear system solver failed. | Simulation terminated at time 9.58791e-005</p>
LOG_STATS | info | <p>### STATISTICS ###</p>
stdout | error | <p>Process crashed<br>
Simulation process failed. Exited with code -3.</p>
the library with gramatical corrections:
encapsulated package invPWMPkg2015
import Modelica;
model IdOneLeg "Switches ideali Una gamba pwm"
Modelica.Blocks.Sources.Constant ampl(k = 0.7) annotation(Placement(visible = true, transformation(origin = {39, 63}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase(k = 0) annotation(Placement(visible = true, transformation(origin = {37, 37}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
PwmPulser pwmPulser annotation(Placement(visible = true, transformation(origin = {-13, 46}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd annotation(Placement(visible = true, transformation(origin = {-50, -36}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu annotation(Placement(visible = true, transformation(origin = {-52, 42}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V2(V = 50) annotation(Placement(visible = true, transformation(origin = {-84, -24}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Resistor Load(R = 30) annotation(Placement(visible = true, transformation(origin = {54, -24}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 634e-6) annotation(Placement(visible = true, transformation(origin = {26, -28}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 50) annotation(Placement(visible = true, transformation(origin = {-84, 20}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(visible = true, transformation(origin = {-4, -48}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor annotation(Placement(visible = true, transformation(origin = {69, 15}, extent = {{-9, -9}, {9, 9}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(visible = true, transformation(origin = {-70, -6}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001) annotation(Placement(visible = true, transformation(origin = {6, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.125) annotation(Placement(visible = true, transformation(origin = {-22, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Blocks.Math.Mean mean1(f = 1000) annotation(Placement(visible = true, transformation(origin = {88, -14}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
equation
connect(potentialSensor.phi, mean1.u) annotation(Line(points = {{78.9, 15}, {88, 15}, {88, -2}, {88, -2}}, color = {0, 0, 127}));
connect(Rf.p, SWu.n) annotation(Line(points = {{-32, 0}, {-52, 0}, {-52, 32}}, color = {0, 0, 255}));
connect(Lf.p, Rf.n) annotation(Line(points = {{-4, 0}, {-10, 0}, {-12, 0}}, color = {0, 0, 255}));
connect(Load.p, Lf.n) annotation(Line(points = {{54, -14}, {54, -8.88178e-16}, {16, -8.88178e-16}}, color = {0, 0, 255}));
connect(Cf.p, Lf.n) annotation(Line(points = {{26, -18}, {26, -8.88178e-16}, {16, -8.88178e-16}}, color = {0, 0, 255}));
connect(ground.p, V1.n) annotation(Line(points = {{-70, 4}, {-70, 10}, {-84, 10}}, color = {0, 0, 255}));
connect(potentialSensor.p, Load.p) annotation(Line(points = {{60, 15}, {54, 15}, {54, -14}}, color = {0, 0, 255}));
connect(ground1.p, Cf.n) annotation(Line(points = {{-4, -38}, {26, -38}}, color = {0, 0, 255}));
connect(SWu.p, V1.p) annotation(Line(points = {{-52, 52}, {-52, 60}, {-84, 60}, {-84, 30}}, color = {0, 0, 255}));
connect(V1.n, V2.p) annotation(Line(points = {{-84, 10}, {-84, -14}, {-84, -14}}, color = {0, 0, 255}));
connect(Load.n, Cf.n) annotation(Line(points = {{54, -34}, {54, -50}, {26, -50}, {26, -38}}, color = {0, 0, 255}));
connect(SWd.n, V2.n) annotation(Line(points = {{-50, -46}, {-50, -56}, {-84, -56}, {-84, -34}}, color = {0, 0, 255}));
connect(SWu.n, SWd.p) annotation(Line(points = {{-52, 32}, {-52, -26}, {-50, -26}}, color = {0, 0, 255}));
connect(pwmPulser.up, SWd.control) annotation(Line(points = {{-27.3, 54.58}, {-36, 54.58}, {-36, -36}, {-43, -36}}, color = {255, 0, 255}));
connect(pwmPulser.down, SWu.control) annotation(Line(points = {{-27.3, 38.46}, {-40, 38.46}, {-40, 42}, {-45, 42}}, color = {255, 0, 255}));
connect(ampl.y, pwmPulser.ampl) annotation(Line(points = {{31.3, 63}, {12, 63}, {12, 54.32}, {2.6, 54.32}}, color = {0, 0, 127}));
connect(phase.y, pwmPulser.ph_deg) annotation(Line(points = {{29.3, 37}, {16, 37}, {16, 38.98}, {2.6, 38.98}}, color = {0, 0, 127}));
annotation(experiment(StopTime = 0.1), experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), Diagram(coordinateSystem(extent = {{-100, -80}, {100, 80}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-100, -80}, {100, 80}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
end IdOneLeg;
model IdTwoLegs "Id switches - TwoLegs"
Modelica.Blocks.Sources.Constant ampl(k = 0.7) annotation(Placement(visible = true, transformation(origin = {83, 57}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase(k = 0) annotation(Placement(visible = true, transformation(origin = {61, 43}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
PwmPulser pwmPulser annotation(Placement(visible = true, transformation(origin = {23, 50}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd annotation(Placement(visible = true, transformation(origin = {-48, -32}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu annotation(Placement(visible = true, transformation(origin = {-48, 42}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V2(V = 50) annotation(Placement(visible = true, transformation(origin = {-76, -24}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Resistor Load(R = 30) annotation(Placement(visible = true, transformation(origin = {82, -4}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 634e-6) annotation(Placement(visible = true, transformation(origin = {60, -8}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 50) annotation(Placement(visible = true, transformation(origin = {-76, 20}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor annotation(Placement(visible = true, transformation(origin = {107, 19}, extent = {{-9, -9}, {9, 9}}, rotation = -90)));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(visible = true, transformation(origin = {-94, -18}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001) annotation(Placement(visible = true, transformation(origin = {40, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.125) annotation(Placement(visible = true, transformation(origin = {12, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Blocks.Math.Mean mean1(f = 1000) annotation(Placement(visible = true, transformation(origin = {108, -34}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu1 annotation(Placement(visible = true, transformation(origin = {-18, 42}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu2 annotation(Placement(visible = true, transformation(origin = {-18, -32}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Blocks.Sources.BooleanExpression ul(y = pwmPulser.up) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-38, 66})));
Modelica.Blocks.Sources.BooleanExpression ur(y = pwmPulser.down) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-10, 64})));
Modelica.Blocks.Sources.BooleanExpression dl(y = pwmPulser.down) annotation(Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = -90, origin = {-40, -66})));
Modelica.Blocks.Sources.BooleanExpression dr(y = pwmPulser.up) annotation(Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = -90, origin = {-8, -64})));
Modelica.Electrical.Analog.Sensors.VoltageSensor vInv annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin = {-34, 4})));
equation
connect(potentialSensor.phi, mean1.u) annotation(Line(points = {{107, 9.1}, {108, 9.1}, {108, -22}}, color = {0, 0, 127}));
connect(Lf.p, Rf.n) annotation(Line(points = {{30, 20}, {24, 20}, {22, 20}}, color = {0, 0, 255}));
connect(Load.p, Lf.n) annotation(Line(points = {{82, 6}, {82, 20}, {50, 20}}, color = {0, 0, 255}));
connect(Cf.p, Lf.n) annotation(Line(points = {{60, 2}, {60, 20}, {50, 20}}, color = {0, 0, 255}));
connect(ground.p, V1.n) annotation(Line(points = {{-94, -8}, {-94, -4}, {-94, 0}, {-76, 0}, {-76, 10}}, color = {0, 0, 255}));
connect(potentialSensor.p, Load.p) annotation(Line(points = {{107, 28}, {82, 28}, {82, 6}}, color = {0, 0, 255}));
connect(SWu.p, V1.p) annotation(Line(points = {{-48, 52}, {-48, 60}, {-76, 60}, {-76, 30}}, color = {0, 0, 255}));
connect(V1.n, V2.p) annotation(Line(points = {{-76, 10}, {-76, 4}, {-76, -14}}, color = {0, 0, 255}));
connect(Load.n, Cf.n) annotation(Line(points = {{82, -14}, {82, -30}, {60, -30}, {60, -18}}, color = {0, 0, 255}));
connect(SWd.n, V2.n) annotation(Line(points = {{-48, -42}, {-48, -50}, {-76, -50}, {-76, -34}}, color = {0, 0, 255}));
connect(SWu.n, SWd.p) annotation(Line(points = {{-48, 32}, {-48, -22}}, color = {0, 0, 255}));
connect(SWu1.p, V1.p) annotation(Line(points = {{-18, 52}, {-18, 60}, {-76, 60}, {-76, 30}}, color = {0, 0, 255}));
connect(SWu1.n, SWu2.p) annotation(Line(points = {{-18, 32}, {-18, -22}}, color = {0, 0, 255}));
connect(SWu2.n, V2.n) annotation(Line(points = {{-18, -42}, {-18, -50}, {-76, -50}, {-76, -34}}, color = {0, 0, 255}));
connect(Rf.p, SWd.p) annotation(Line(points = {{2, 20}, {-48, 20}, {-48, -22}}, color = {0, 0, 255}));
connect(Cf.n, SWu2.p) annotation(Line(points = {{60, -18}, {60, -30}, {0, -30}, {0, -14}, {-18, -14}, {-18, -22}}, color = {0, 0, 255}));
connect(SWu.control, ul.y) annotation(Line(points = {{-41, 42}, {-38, 42}, {-38, 55}}, color = {255, 0, 255}));
connect(SWu1.control, ur.y) annotation(Line(points = {{-11, 42}, {-10, 42}, {-10, 53}}, color = {255, 0, 255}));
connect(dl.y, SWd.control) annotation(Line(points = {{-40, -55}, {-39, -55}, {-39, -32}, {-41, -32}}, color = {255, 0, 255}));
connect(dr.y, SWu2.control) annotation(Line(points = {{-8, -53}, {-11, -53}, {-11, -32}}, color = {255, 0, 255}));
connect(phase.y, pwmPulser.ph_deg) annotation(Line(points = {{53.3, 43}, {47.65, 43}, {47.65, 42.98}, {38.6, 42.98}}, color = {0, 0, 127}));
connect(ampl.y, pwmPulser.ampl) annotation(Line(points = {{75.3, 57}, {59.65, 57}, {59.65, 58.32}, {38.6, 58.32}}, color = {0, 0, 127}));
connect(vInv.p, SWd.p) annotation(Line(points = {{-44, 4}, {-48, 4}, {-48, -22}}, color = {0, 0, 255}));
connect(vInv.n, SWu2.p) annotation(Line(points = {{-24, 4}, {-18, 4}, {-18, -22}}, color = {0, 0, 255}));
annotation(experiment(StopTime = 0.1), experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), Diagram(coordinateSystem(extent = {{-100, -80}, {140, 80}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-100, -80}, {140, 80}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
end IdTwoLegs;
model IdTwoLegsDCFilt "Id switches - TwoLegs - DC filter"
parameter Real Udir = 0.7;
parameter Real LDF = 1e-006;
parameter Real Rbat = 0.1;
Modelica.Blocks.Sources.Constant ampl(k = 0.7) annotation(Placement(visible = true, transformation(origin = {77, 57}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase(k = 0) annotation(Placement(visible = true, transformation(origin = {55, 43}, extent = {{-7, 7}, {7, -7}}, rotation = 180)));
PwmPulser pwmPulser annotation(Placement(visible = true, transformation(origin = {17, 50}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd annotation(Placement(visible = true, transformation(origin = {-54, -32}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu annotation(Placement(visible = true, transformation(origin = {-54, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Resistor Load(R = 30) annotation(Placement(visible = true, transformation(origin = {76, -4}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 634e-6) annotation(Placement(visible = true, transformation(origin = {54, -8}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Sensors.PotentialSensor potentialSensor annotation(Placement(visible = true, transformation(origin = {101, 19}, extent = {{-9, -9}, {9, 9}}, rotation = -90)));
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001) annotation(Placement(visible = true, transformation(origin = {34, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.125) annotation(Placement(visible = true, transformation(origin = {6, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Blocks.Math.Mean mean1(f = 1000) annotation(Placement(visible = true, transformation(origin = {102, -34}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu1 annotation(Placement(visible = true, transformation(origin = {-24, 40}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu2 annotation(Placement(visible = true, transformation(origin = {-24, -32}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Blocks.Sources.BooleanExpression ul(y = pwmPulser.up) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-44, 66})));
Modelica.Blocks.Sources.BooleanExpression ur(y = pwmPulser.down) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-16, 66})));
Modelica.Blocks.Sources.BooleanExpression dl(y = pwmPulser.down) annotation(Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = -90, origin = {-46, -66})));
Modelica.Blocks.Sources.BooleanExpression dr(y = pwmPulser.up) annotation(Placement(transformation(extent = {{10, -10}, {-10, 10}}, rotation = -90, origin = {-14, -64})));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(transformation(extent = {{24, -60}, {44, -40}})));
Modelica.Electrical.Analog.Sources.ConstantVoltage VDC(V = 100) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-128, -2})));
Modelica.Electrical.Analog.Basic.Resistor Rbat1(R = Rbat) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-128, 32})));
Modelica.Electrical.Analog.Basic.Resistor Rbat2(R = Rbat) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-128, -38})));
Modelica.Electrical.Analog.Basic.Capacitor dcCap(v(start = 100, fixed = true), C = 0.01) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-84, 0})));
Modelica.Electrical.Analog.Basic.Inductor Lf1(L = LDF) annotation(Placement(transformation(extent = {{-116, 48}, {-96, 68}})));
Modelica.Electrical.Analog.Basic.Inductor Lf2(L = LDF) annotation(Placement(transformation(extent = {{-118, -72}, {-98, -52}})));
equation
connect(potentialSensor.phi, mean1.u) annotation(Line(points = {{101, 9.1}, {102, 9.1}, {102, -22}}, color = {0, 0, 127}));
connect(Lf.p, Rf.n) annotation(Line(points = {{24, 20}, {18, 20}, {16, 20}}, color = {0, 0, 255}));
connect(Load.p, Lf.n) annotation(Line(points = {{76, 6}, {76, 20}, {44, 20}}, color = {0, 0, 255}));
connect(Cf.p, Lf.n) annotation(Line(points = {{54, 2}, {54, 20}, {44, 20}}, color = {0, 0, 255}));
connect(potentialSensor.p, Load.p) annotation(Line(points = {{101, 28}, {76, 28}, {76, 6}}, color = {0, 0, 255}));
connect(Load.n, Cf.n) annotation(Line(points = {{76, -14}, {76, -30}, {54, -30}, {54, -18}}, color = {0, 0, 255}));
connect(SWu.n, SWd.p) annotation(Line(points = {{-54, 30}, {-54, -22}}, color = {0, 0, 255}));
connect(SWu1.n, SWu2.p) annotation(Line(points = {{-24, 30}, {-24, -22}}, color = {0, 0, 255}));
connect(Rf.p, SWd.p) annotation(Line(points = {{-4, 20}, {-54, 20}, {-54, -22}}, color = {0, 0, 255}));
connect(Cf.n, SWu2.p) annotation(Line(points = {{54, -18}, {54, -30}, {-6, -30}, {-6, -14}, {-24, -14}, {-24, -22}}, color = {0, 0, 255}));
connect(SWu.control, ul.y) annotation(Line(points = {{-47, 40}, {-44, 40}, {-44, 55}}, color = {255, 0, 255}));
connect(SWu1.control, ur.y) annotation(Line(points = {{-17, 40}, {-16, 40}, {-16, 55}}, color = {255, 0, 255}));
connect(dl.y, SWd.control) annotation(Line(points = {{-46, -55}, {-45, -55}, {-45, -32}, {-47, -32}}, color = {255, 0, 255}));
connect(dr.y, SWu2.control) annotation(Line(points = {{-14, -53}, {-14, -54}, {-14, -32}, {-18, -32}, {-17, -32}}, color = {255, 0, 255}));
connect(phase.y, pwmPulser.ph_deg) annotation(Line(points = {{47.3, 43}, {41.65, 43}, {41.65, 42.98}, {32.6, 42.98}}, color = {0, 0, 127}));
connect(ampl.y, pwmPulser.ampl) annotation(Line(points = {{69.3, 57}, {53.65, 57}, {53.65, 58.32}, {32.6, 58.32}}, color = {0, 0, 127}));
connect(VDC.n, Rbat2.p) annotation(Line(points = {{-128, -12}, {-128, -28}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf1.p, Rbat1.p) annotation(Line(points = {{-116, 58}, {-128, 58}, {-128, 42}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf2.p, Rbat2.n) annotation(Line(points = {{-118, -62}, {-128, -62}, {-128, -48}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, SWu2.p) annotation(Line(points = {{34, -40}, {34, -30}, {-6, -30}, {-6, -14}, {-24, -14}, {-24, -22}}, color = {0, 0, 255}));
connect(Lf1.n, SWu.p) annotation(Line(points = {{-96, 58}, {-96, 58}, {-54, 58}, {-54, 50}}, color = {0, 0, 255}));
connect(SWu.p, SWu1.p) annotation(Line(points = {{-54, 50}, {-40, 50}, {-24, 50}}, color = {0, 0, 255}));
connect(Lf2.n, SWd.n) annotation(Line(points = {{-98, -62}, {-64, -62}, {-64, -42}, {-54, -42}}, color = {0, 0, 255}));
connect(SWd.n, SWu2.n) annotation(Line(points = {{-54, -42}, {-39, -42}, {-24, -42}}, color = {0, 0, 255}));
connect(dcCap.n, SWd.n) annotation(Line(points = {{-84, -10}, {-84, -62}, {-64, -62}, {-64, -42}, {-54, -42}}, color = {0, 0, 255}));
connect(VDC.p, Rbat1.n) annotation(Line(points = {{-128, 8}, {-128, 22}}, color = {0, 0, 255}));
connect(dcCap.p, SWu.p) annotation(Line(points = {{-84, 10}, {-84, 58}, {-54, 58}, {-54, 50}}, color = {0, 0, 255}));
annotation(experiment(StopTime = 0.1), experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), Diagram(coordinateSystem(extent = {{-140, -80}, {120, 80}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-140, -80}, {120, 80}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
end IdTwoLegsDCFilt;
model ReOneLegDCFilt "Real valves, one leg, DC filter"
parameter Real Udir = 0.7;
parameter Real LDF = 1e-006;
parameter Real Rbat = 0.1;
Real Pdc, Pac, PLoad, Endc, Enac, EnLoad;
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 50) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-96, 20})));
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.06) annotation(Placement(transformation(extent = {{-8, -10}, {12, 10}})));
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001) annotation(Placement(transformation(extent = {{30, -10}, {50, 10}})));
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 5e-005) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {60, -28})));
Modelica.Electrical.Analog.Basic.Resistor Load(R = 10) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {88, -24})));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(transformation(extent = {{-120, -20}, {-100, 0}})));
Modelica.Electrical.Analog.Sources.ConstantVoltage V2(V = 50) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-96, -24})));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(transformation(extent = {{20, -58}, {40, -38}})));
PwmPulser pwmPulser(Fcar = 10000) annotation(Placement(transformation(extent = {{-13, -12}, {13, 12}}, rotation = 180, origin = {21, 40})));
Modelica.Blocks.Sources.Constant const(k = 0) annotation(Placement(transformation(extent = {{-7, -7}, {7, 7}}, rotation = 180, origin = {53, 59})));
Modelica.Blocks.Sources.Constant const1(k = 0.7) annotation(Placement(transformation(extent = {{-7, -7}, {7, 7}}, rotation = 180, origin = {73, 33})));
Modelica.Electrical.Analog.Ideal.IdealGTOThyristor Tu(Vknee = Udir) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-14, 54})));
Modelica.Electrical.Analog.Ideal.IdealDiode Du(Vknee = Udir) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 90, origin = {-34, 54})));
Modelica.Electrical.Analog.Ideal.IdealGTOThyristor Td(Vknee = Udir) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-6, -38})));
Modelica.Electrical.Analog.Ideal.IdealDiode Dd(Vknee = Udir) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 90, origin = {-26, -38})));
Modelica.Electrical.Analog.Basic.Resistor Load1(R = Rbat) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-96, 52})));
Modelica.Electrical.Analog.Basic.Resistor Load2(R = Rbat) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-96, -48})));
Modelica.Electrical.Analog.Basic.Capacitor dcCap(C = 0.005, v(start = 100, fixed = true)) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {-54, 0})));
Modelica.Electrical.Analog.Basic.Inductor Lf1(L = LDF) annotation(Placement(transformation(extent = {{-82, 62}, {-62, 82}})));
Modelica.Electrical.Analog.Basic.Inductor Lf2(L = LDF) annotation(Placement(transformation(extent = {{-86, -72}, {-66, -52}})));
algorithm
if terminal() then
assert(false, "Finito");
end if;
equation
-Pdc = V1.v * V1.i + V2.v * V2.i;
Pac = Rf.p.v * Rf.i;
PLoad = Load.LossPower;
der(Endc) = Pdc;
der(Enac) = Pac;
der(EnLoad) = PLoad;
connect(Lf.p, Rf.n) annotation(Line(points = {{30, 0}, {12, 0}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Cf.p, Lf.n) annotation(Line(points = {{60, -18}, {60, 0}, {50, 0}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Load.p, Lf.n) annotation(Line(points = {{88, -14}, {88, 0}, {50, 0}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Load.n, Cf.n) annotation(Line(points = {{88, -34}, {88, -50}, {60, -50}, {60, -38}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V1.n, V2.p) annotation(Line(points = {{-96, 10}, {-96, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground1.p, Cf.n) annotation(Line(points = {{30, -38}, {60, -38}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(const.y, pwmPulser.Ph_deg) annotation(Line(points = {{45.3, 59}, {43.65, 59}, {43.65, 46.48}, {36.6, 46.48}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(const1.y, pwmPulser.Ampl) annotation(Line(points = {{65.3, 33}, {49.65, 33}, {49.65, 32.32}, {36.6, 32.32}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(Du.n, Tu.p) annotation(Line(points = {{-34, 64}, {-34, 72}, {-14, 72}, {-14, 64}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Tu.n, Du.p) annotation(Line(points = {{-14, 44}, {-14, 38}, {-34, 38}, {-34, 44}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(pwmPulser.Bot, Tu.fire) annotation(Line(points = {{6.7, 46.96}, {1.35, 46.96}, {1.35, 47}, {-3, 47}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(Td.n, Dd.p) annotation(Line(points = {{-6, -48}, {-6, -62}, {-26, -62}, {-26, -48}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Dd.n, Td.p) annotation(Line(points = {{-26, -28}, {-26, -22}, {-6, -22}, {-6, -28}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Du.p, Dd.n) annotation(Line(points = {{-34, 44}, {-34, 30}, {-26, 30}, {-26, -28}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf.p, Dd.n) annotation(Line(points = {{-8, 0}, {-26, 0}, {-26, -28}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(pwmPulser.Top, Td.fire) annotation(Line(points = {{6.7, 32.08}, {2, 32.08}, {2, 12}, {20, 12}, {20, -45}, {5, -45}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(V1.p, Load1.n) annotation(Line(points = {{-96, 30}, {-96, 42}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V2.n, Load2.p) annotation(Line(points = {{-96, -34}, {-96, -38}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(dcCap.p, Tu.p) annotation(Line(points = {{-54, 10}, {-54, 72}, {-14, 72}, {-14, 64}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(dcCap.n, Dd.p) annotation(Line(points = {{-54, -10}, {-54, -62}, {-26, -62}, {-26, -48}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, V2.p) annotation(Line(points = {{-110, 0}, {-96, 0}, {-96, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf1.p, Load1.p) annotation(Line(points = {{-82, 72}, {-96, 72}, {-96, 62}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf1.n, Tu.p) annotation(Line(points = {{-62, 72}, {-14, 72}, {-14, 64}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf2.n, Dd.p) annotation(Line(points = {{-66, -62}, {-26, -62}, {-26, -48}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf2.p, Load2.n) annotation(Line(points = {{-86, -62}, {-96, -62}, {-96, -58}}, color = {0, 0, 255}, smooth = Smooth.None));
annotation(Diagram(coordinateSystem(extent = {{-120, -100}, {100, 100}}, preserveAspectRatio = false), graphics), experiment(StopTime = 0.06, Interval = 5e-005), Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori usuali se in controllo resta senza blanking time.</p>
<p>Il sistema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
<p>L'aggiuta del calcolo perdite consente di mostrare gli effetti sull'efficienza dei vari componenti.</p>
<p>EnDc, Enac e Enload sono rispettivamente perdite lato dc e sc dell'inverter, e sul carico.</p>
<p>Si vede come ai bassi carichi l'influenza della caduta diretta sui componenti attivi (Udir) è importante. </p>
<p>Se la resistenza di carico è ridotta e se l'indice di mosulazione di ampienza è aumentato l'efficienza cresce.</p>
</html>"), Icon(coordinateSystem(extent = {{-120, -100}, {100, 100}})), __Dymola_experimentSetupOutput);
end ReOneLegDCFilt;
model ReOnePQ "Real valves, one leg P-Q measure"
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 50) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-84, 36})));
Modelica.Electrical.Analog.Basic.Resistor Rf(R = 0.125) annotation(Placement(transformation(extent = {{-42, 6}, {-22, 26}})));
Modelica.Electrical.Analog.Basic.Inductor Lf(L = 0.001) annotation(Placement(transformation(extent = {{-6, 6}, {14, 26}})));
Modelica.Electrical.Analog.Basic.Capacitor Cf(C = 0.000634) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {30, -4})));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(transformation(extent = {{-84, 0}, {-64, 20}})));
Modelica.Electrical.Analog.Sources.ConstantVoltage V2(V = 50) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-84, -8})));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(transformation(extent = {{-14, -42}, {6, -22}})));
PwmPulser pwmPulser annotation(Placement(transformation(extent = {{-13, -12}, {13, 12}}, rotation = 180, origin = {15, 60})));
Modelica.Blocks.Sources.Constant phase(k = +10) annotation(Placement(transformation(extent = {{-7, -7}, {7, 7}}, rotation = 180, origin = {47, 67})));
Modelica.Blocks.Sources.Constant Ampl(k = 0.9) annotation(Placement(transformation(extent = {{-7, -7}, {7, 7}}, rotation = 180, origin = {67, 53})));
Modelica.Electrical.Analog.Ideal.IdealGTOThyristor idealGTOThyristor(Vknee = 0.1) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-48, 70})));
Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode(Vknee = 0.1) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 90, origin = {-68, 70})));
Modelica.Electrical.Analog.Ideal.IdealGTOThyristor idealGTOThyristor1(Vknee = 0.1) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {-40, -22})));
Modelica.Electrical.Analog.Ideal.IdealDiode idealDiode1(Vknee = 0.1) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 90, origin = {-60, -22})));
Modelica.Electrical.Analog.Sensors.PowerSensor P annotation(Placement(transformation(extent = {{38, 8}, {54, 24}})));
QMonoSensor Q annotation(Placement(transformation(extent = {{60, 10}, {74, 24}})));
Modelica.Electrical.Analog.Sources.SineVoltage E(V = 40, freqHz = 50) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 270, origin = {90, -4})));
AVG avP annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {40, -38})));
AVG avQ annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {62, -38})));
equation
connect(Lf.p, Rf.n) annotation(Line(points = {{-6, 16}, {-22, 16}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, V1.n) annotation(Line(points = {{-74, 20}, {-74, 26}, {-84, 26}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V1.n, V2.p) annotation(Line(points = {{-84, 26}, {-84, 2}, {-84, 2}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground1.p, Cf.n) annotation(Line(points = {{-4, -22}, {12, -22}, {12, -14}, {30, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(phase.y, pwmPulser.Ph_deg) annotation(Line(points = {{39.3, 67}, {37.65, 67}, {37.65, 66.48}, {30.6, 66.48}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(Ampl.y, pwmPulser.Ampl) annotation(Line(points = {{59.3, 53}, {43.65, 53}, {43.65, 52.32}, {30.6, 52.32}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(idealDiode.n, idealGTOThyristor.p) annotation(Line(points = {{-68, 80}, {-68, 88}, {-48, 88}, {-48, 80}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(idealGTOThyristor.n, idealDiode.p) annotation(Line(points = {{-48, 60}, {-48, 54}, {-68, 54}, {-68, 60}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V1.p, idealDiode.n) annotation(Line(points = {{-84, 46}, {-84, 88}, {-68, 88}, {-68, 80}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(idealGTOThyristor1.n, idealDiode1.p) annotation(Line(points = {{-40, -32}, {-40, -46}, {-60, -46}, {-60, -32}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V2.n, idealDiode1.p) annotation(Line(points = {{-84, -18}, {-84, -46}, {-60, -46}, {-60, -32}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(idealDiode1.n, idealGTOThyristor1.p) annotation(Line(points = {{-60, -12}, {-60, -6}, {-40, -6}, {-40, -12}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(idealDiode.p, idealDiode1.n) annotation(Line(points = {{-68, 60}, {-68, 46}, {-60, 46}, {-60, -12}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf.p, idealDiode1.n) annotation(Line(points = {{-42, 16}, {-60, 16}, {-60, -12}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(P.pc, Lf.n) annotation(Line(points = {{38, 16}, {14, 16}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Cf.p, P.pc) annotation(Line(points = {{30, 6}, {30, 16}, {38, 16}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(P.pv, P.nc) annotation(Line(points = {{46, 24}, {54, 24}, {54, 16}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Q.pc, P.nc) annotation(Line(points = {{60, 17}, {58, 17}, {58, 16}, {54, 16}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Q.pv, Q.nc) annotation(Line(points = {{67, 24}, {74, 24}, {74, 17}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(pwmPulser.Bot, idealGTOThyristor1.fire) annotation(Line(points = {{0.7, 66.95999999999999}, {-12, 66.95999999999999}, {-12, -28}, {-29, -28}, {-29, -29}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(idealGTOThyristor.fire, pwmPulser.Top) annotation(Line(points = {{-37, 63}, {-22, 63}, {-22, 52.08}, {0.7, 52.08}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(E.p, Q.nc) annotation(Line(points = {{90, 6}, {90, 17}, {74, 17}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(E.n, Cf.n) annotation(Line(points = {{90, -14}, {30, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Q.nv, E.n) annotation(Line(points = {{67, 10}, {67, -14}, {90, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(P.nv, Cf.n) annotation(Line(points = {{46, 8}, {46, -14}, {30, -14}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(avP.u, P.power) annotation(Line(points = {{40.8, -28.2}, {40.8, -10.1}, {39.6, -10.1}, {39.6, 7.2}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(avQ.u, Q.power) annotation(Line(points = {{62.8, -28.2}, {62.8, 9.300000000000001}, {61.4, 9.300000000000001}}, color = {0, 0, 127}, smooth = Smooth.None));
annotation(Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}), graphics), experiment(StopTime = 0.06, Interval = 5e-005), Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori useali se in controllo resta senza blanking time.</p>
<p>Il sistema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"));
end ReOnePQ;
model IdOneSQWave "Switch ideali, una gamba, onda quadra"
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(transformation(extent = {{-78, 0}, {-58, 20}})));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(transformation(extent = {{-30, -56}, {-10, -36}})));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 50) annotation(Placement(visible = true, transformation(origin = {-84, 36}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Resistor Load(R = 1) annotation(Placement(visible = true, transformation(origin = {20, -10}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V2(V = 50) annotation(Placement(visible = true, transformation(origin = {-84, -8}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWu annotation(Placement(visible = true, transformation(origin = {-50, 58}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch SWd annotation(Placement(visible = true, transformation(origin = {-48, -20}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Blocks.Sources.BooleanPulse booleanPulse(period = 1 / 50) annotation(Placement(transformation(extent = {{8, 62}, {-12, 82}})));
Modelica.Blocks.MathBoolean.Not nor1 annotation(Placement(transformation(extent = {{-4, -4}, {4, 4}}, rotation = 270, origin = {-28, 48})));
Modelica.Electrical.Analog.Basic.Inductor inductor(L = 0.005) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {20, 18})));
algorithm
if terminal() then
assert(false, "Finito");
end if;
equation
connect(ground.p, V1.n) annotation(Line(points = {{-68, 20}, {-68, 26}, {-84, 26}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V1.n, V2.p) annotation(Line(points = {{-84, 26}, {-84, 2}, {-84, 2}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(SWu.p, V1.p) annotation(Line(points = {{-50, 68}, {-50, 76}, {-84, 76}, {-84, 46}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(SWu.n, SWd.p) annotation(Line(points = {{-50, 48}, {-50, -10}, {-48, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(SWd.n, V2.n) annotation(Line(points = {{-48, -30}, {-48, -40}, {-84, -40}, {-84, -18}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(booleanPulse.y, SWu.control) annotation(Line(points = {{-13, 72}, {-64, 72}, {-64, 58}, {-57, 58}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(nor1.u, booleanPulse.y) annotation(Line(points = {{-28, 53.6}, {-28, 72}, {-13, 72}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(nor1.y, SWd.control) annotation(Line(points = {{-28, 43.2}, {-28, -20}, {-41, -20}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(inductor.n, Load.p) annotation(Line(points = {{20, 8}, {20, 0}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Load.n, ground1.p) annotation(Line(points = {{20, -20}, {-20, -20}, {-20, -36}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(inductor.p, SWu.n) annotation(Line(points = {{20, 28}, {-16, 28}, {-16, 22}, {-50, 22}, {-50, 48}}, color = {0, 0, 255}, smooth = Smooth.None));
annotation(Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}), graphics), experiment(StopTime = 0.1), Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"));
end IdOneSQWave;
model IdPwmTrif2 "Trifase multifase con switches ideali"
Modelica.Electrical.MultiPhase.Basic.Star star2 annotation(Placement(visible = true, transformation(origin = {56, -36}, extent = {{10, -10}, {-10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Basic.Resistor Rload(R = fill(30, 3)) annotation(Placement(visible = true, transformation(origin = {56, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Basic.Capacitor Cf(C = fill(0.000634, 3)) annotation(Placement(visible = true, transformation(origin = {24, -10}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Basic.Inductor Lf(L = fill(0.001, 3)) annotation(Placement(visible = true, transformation(origin = {8, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.MultiPhase.Basic.Resistor Rf(R = fill(0.125, 3)) annotation(Placement(visible = true, transformation(origin = {-18, 20}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.MultiPhase.Basic.Star star1 annotation(Placement(visible = true, transformation(origin = {-50, -60}, extent = {{10, -10}, {-10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Basic.Star star annotation(Placement(visible = true, transformation(origin = {-50, 58}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Ideal.IdealOpeningSwitch downSW(Ron = fill(1e-5, 3), Goff = fill(1e-5, 3)) annotation(Placement(visible = true, transformation(origin = {-50, -30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Ideal.IdealOpeningSwitch upSW(Ron = fill(1e-5, 3), Goff = fill(1e-5, 3)) annotation(Placement(visible = true, transformation(origin = {-50, 30}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Blocks.Sources.Constant ampl[3](k = fill(0.7, 3)) annotation(Placement(visible = true, transformation(origin = {82, 68}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase[3](k = {0, 120, 120}) annotation(Placement(visible = true, transformation(origin = {82, 30}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
PwmPulser pwmPulser[3](Fcar = fill(1000, 3), Fmod = fill(50, 3)) annotation(Placement(visible = true, transformation(origin = {23, 52}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 100) annotation(Placement(visible = true, transformation(origin = {-84, 2}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(visible = true, transformation(origin = {56, -64}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(ground1.p, star2.pin_n) annotation(Line(points = {{56, -54}, {56, -46}}, color = {0, 0, 255}));
connect(V1.n, star1.pin_n) annotation(Line(points = {{-84, -8}, {-84, -70}, {-50, -70}}, color = {0, 0, 255}));
connect(star.pin_n, V1.p) annotation(Line(points = {{-50, 68}, {-84, 68}, {-84, 12}}, color = {0, 0, 255}));
connect(pwmPulser.Bot, downSW.control) annotation(Line(points = {{8.699999999999999, 44.46}, {-32, 44.46}, {-32, 14}, {-38, 14}, {-38, -30}, {-43, -30}}, color = {255, 0, 255}));
connect(pwmPulser.Top, upSW.control) annotation(Line(points = {{8.699999999999999, 60.58}, {-34, 60.58}, {-34, 30}, {-43, 30}}, color = {255, 0, 255}));
connect(ampl.y, pwmPulser.Ampl) annotation(Line(points = {{71, 68}, {60, 68}, {60, 60.32}, {38.6, 60.32}}, color = {0, 0, 127}));
connect(phase.y, pwmPulser.Ph_deg) annotation(Line(points = {{71, 30}, {64, 30}, {64, 44.98}, {38.6, 44.98}}, color = {0, 0, 127}));
connect(upSW.plug_p, star.plug_p) annotation(Line(points = {{-50, 40}, {-50, 48}}, color = {0, 0, 255}));
connect(upSW.plug_n, downSW.plug_p) annotation(Line(points = {{-50, 20}, {-50, -20}}, color = {0, 0, 255}));
connect(Rf.plug_p, downSW.plug_p) annotation(Line(points = {{-28, 20}, {-50, 20}, {-50, -20}}, color = {0, 0, 255}));
connect(downSW.plug_n, star1.plug_p) annotation(Line(points = {{-50, -40}, {-50, -50}}, color = {0, 0, 255}));
connect(Rf.plug_n, Lf.plug_p) annotation(Line(points = {{-8, 20}, {-2, 20}}, color = {0, 0, 255}));
connect(Cf.plug_p, Lf.plug_n) annotation(Line(points = {{24, 5.55112e-016}, {22, 5.55112e-016}, {22, 20}, {18, 20}}, color = {0, 0, 255}));
connect(Cf.plug_n, Rload.plug_n) annotation(Line(points = {{24, -20}, {56, -20}}, color = {0, 0, 255}));
connect(Cf.plug_p, Rload.plug_p) annotation(Line(points = {{24, 0}, {56, 0}}, color = {0, 0, 255}));
connect(Rload.plug_n, star2.plug_p) annotation(Line(points = {{56, -20}, {56, -26}}, color = {0, 0, 255}));
annotation(Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}), graphics), experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), experiment(StartTime = 0, StopTime = 0.1, Tolerance = 0.0001, Interval = 0.0002));
end IdPwmTrif2;
model IdPwmTrif1 "Trifase con switches ideali individuali"
parameter Real Rf = 0.125;
parameter Real Lf = 0.001;
parameter Real Cf = 0.000634;
parameter Real Rld = 30.0;
Modelica.Blocks.Sources.Constant ampl[3](k = fill(0.7, 3)) annotation(Placement(visible = true, transformation(origin = {78, 68}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase[3](k = -array(120 * (j - 1) for j in 1:3)) annotation(Placement(visible = true, transformation(origin = {55, 49}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 100) annotation(Placement(visible = true, transformation(origin = {-94, 20}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
PwmPulser pwmPulser[3] annotation(Placement(visible = true, transformation(origin = {17, 54}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S1 annotation(Placement(visible = true, transformation(origin = {-74, 60}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S5 annotation(Placement(visible = true, transformation(origin = {-34, 60}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S4 annotation(Placement(visible = true, transformation(origin = {-74, -20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S6 annotation(Placement(visible = true, transformation(origin = {-54, -20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S2 annotation(Placement(visible = true, transformation(origin = {-34, -20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.Analog.Ideal.IdealClosingSwitch S3 annotation(Placement(visible = true, transformation(origin = {-54, 60}, extent = {{-10, -15}, {10, 15}}, rotation = -90)));
Modelica.Electrical.Analog.Basic.Resistor Rf1(R = Rf) annotation(Placement(transformation(extent = {{4, 14}, {24, 34}})));
Modelica.Electrical.Analog.Basic.Inductor Lf1(L = Lf) annotation(Placement(transformation(extent = {{30, 14}, {50, 34}})));
Modelica.Electrical.Analog.Basic.Capacitor Ff1(C = Cf) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {62, 14})));
Modelica.Electrical.Analog.Basic.Resistor Rld1(R = Rld) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {84, 15})));
Modelica.Electrical.Analog.Basic.Resistor Rf2(R = Rf) annotation(Placement(transformation(extent = {{1, -20}, {21, 0}})));
Modelica.Electrical.Analog.Basic.Inductor Lf2(L = Lf) annotation(Placement(transformation(extent = {{27, -20}, {47, 0}})));
Modelica.Electrical.Analog.Basic.Capacitor Ff2(C = Cf) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {59, -20})));
Modelica.Electrical.Analog.Basic.Resistor Rld2(R = Rld) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {81, -19})));
Modelica.Electrical.Analog.Basic.Resistor Rf3(R = Rf) annotation(Placement(transformation(extent = {{3, -54}, {23, -34}})));
Modelica.Electrical.Analog.Basic.Inductor Lf3(L = Lf) annotation(Placement(transformation(extent = {{29, -54}, {49, -34}})));
Modelica.Electrical.Analog.Basic.Capacitor Ff3(C = Cf) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {61, -54})));
Modelica.Electrical.Analog.Basic.Resistor Rld3(R = Rld) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {83, -53})));
Modelica.Electrical.Analog.Basic.Ground ground annotation(Placement(transformation(extent = {{110, -47}, {130, -27}})));
equation
connect(phase.y, pwmPulser.Ph_deg) annotation(Line(points = {{44, 49}, {32.6, 49}, {32.6, 46.98}}, color = {0, 0, 127}));
connect(ampl.y, pwmPulser.Ampl) annotation(Line(points = {{67, 68}, {32.6, 68}, {32.6, 62.32}}, color = {0, 0, 127}));
connect(S1.n, S4.p) annotation(Line(points = {{-74, 50}, {-74, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S3.n, S6.p) annotation(Line(points = {{-54, 50}, {-54, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S5.n, S2.p) annotation(Line(points = {{-34, 50}, {-34, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S5.p, S1.p) annotation(Line(points = {{-34, 70}, {-34, 79}, {-74, 79}, {-74, 70}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S3.p, S1.p) annotation(Line(points = {{-54, 70}, {-54, 79}, {-74, 79}, {-74, 70}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S4.n, S2.n) annotation(Line(points = {{-74, -30}, {-74, -40}, {-34, -40}, {-34, -30}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(S6.n, S2.n) annotation(Line(points = {{-54, -30}, {-54, -40}, {-34, -40}, {-34, -30}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[1].Top, S1.control) annotation(Line(points = {{2.7, 62.58}, {-8, 62.58}, {-8, 74}, {-67, 74}, {-67, 60}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[2].Top, S3.control) annotation(Line(points = {{2.7, 62.58}, {-16, 62.58}, {-16, 67}, {-43.5, 67}, {-43.5, 60}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[3].Top, S5.control) annotation(Line(points = {{2.7, 62.58}, {-15, 62.58}, {-15, 60}, {-27, 60}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[1].Bot, S4.control) annotation(Line(points = {{2.7, 46.46}, {-5, 46.46}, {-5, -36}, {-67, -36}, {-67, -20}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[2].Bot, S6.control) annotation(Line(points = {{2.7, 46.46}, {-5, 46.46}, {-5, -36}, {-47, -36}, {-47, -20}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(pwmPulser[3].Bot, S2.control) annotation(Line(points = {{2.7, 46.46}, {-5, 46.46}, {-5, -36}, {-27, -36}, {-27, -20}}, color = {255, 0, 255}, smooth = Smooth.None));
connect(V1.p, S1.p) annotation(Line(points = {{-94, 30}, {-94, 80}, {-73, 80}, {-73, 79}, {-74, 79}, {-74, 70}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(V1.n, S2.n) annotation(Line(points = {{-94, 10}, {-94, -41}, {-73, -41}, {-73, -39}, {-74, -39}, {-74, -40}, {-34, -40}, {-34, -30}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf1.n, Lf1.p) annotation(Line(points = {{24, 24}, {30, 24}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf1.n, Ff1.p) annotation(Line(points = {{50, 24}, {62, 24}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rld1.p, Ff1.p) annotation(Line(points = {{84, 25}, {62, 25}, {62, 24}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf2.n, Lf2.p) annotation(Line(points = {{21, -10}, {27, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf2.n, Ff2.p) annotation(Line(points = {{47, -10}, {59, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rld2.p, Ff2.p) annotation(Line(points = {{81, -9}, {71, -9}, {71, -10}, {59, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf3.n, Lf3.p) annotation(Line(points = {{23, -44}, {29, -44}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Lf3.n, Ff3.p) annotation(Line(points = {{49, -44}, {61, -44}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rld3.p, Ff3.p) annotation(Line(points = {{83, -43}, {73, -43}, {73, -44}, {61, -44}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf1.p, S4.p) annotation(Line(points = {{4, 24}, {4, 24}, {-14, 24}, {-14, 24}, {-14, 37}, {-74, 37}, {-74, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf2.p, S6.p) annotation(Line(points = {{1, -10}, {-7, -10}, {-7, -10}, {-14, -10}, {-14, 14}, {-54, 14}, {-54, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rf3.p, S2.p) annotation(Line(points = {{3, -44}, {3, -22}, {-21, -22}, {-21, 4}, {-34, 4}, {-34, -10}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Ff1.n, Rld1.n) annotation(Line(points = {{62, 4}, {62, 5}, {84, 5}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, Rld1.n) annotation(Line(points = {{120, -27}, {120, 5}, {84, 5}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, Rld2.n) annotation(Line(points = {{120, -27}, {102, -27}, {102, -29}, {81, -29}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rld2.n, Ff2.n) annotation(Line(points = {{81, -29}, {71, -29}, {71, -30}, {59, -30}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(ground.p, Rld3.n) annotation(Line(points = {{120, -27}, {106, -27}, {106, -63}, {83, -63}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(Rld3.n, Ff3.n) annotation(Line(points = {{83, -63}, {73, -63}, {73, -64}, {61, -64}}, color = {0, 0, 255}, smooth = Smooth.None));
annotation(experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), experiment(StartTime = 0, StopTime = 0.1, Tolerance = 0.0001), Diagram(coordinateSystem(extent = {{-100, -80}, {140, 100}}, preserveAspectRatio = false, initialScale = 0.1, grid = {1, 1}), graphics), Icon(coordinateSystem(extent = {{-100, -80}, {140, 100}}, preserveAspectRatio = false, initialScale = 0.1, grid = {1, 1})));
end IdPwmTrif1;
model IdTrif2Filt "Switches ideali, trifase, filtro DC"
Modelica.Electrical.MultiPhase.Basic.Star star2 annotation(Placement(visible = true, transformation(origin = {68, -26}, extent = {{10, -10}, {-10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Basic.Resistor Rload(R = fill(1, 3)) annotation(Placement(visible = true, transformation(origin = {68, 0}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Basic.Capacitor Cf(C = fill(5e-005, 3)) annotation(Placement(visible = true, transformation(origin = {36, 0}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Basic.Inductor Lf(L = fill(0.001, 3)) annotation(Placement(visible = true, transformation(origin = {20, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.MultiPhase.Basic.Resistor Rf(R = fill(0.05, 3)) annotation(Placement(visible = true, transformation(origin = {-6, 30}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.MultiPhase.Basic.Star star1 annotation(Placement(visible = true, transformation(origin = {-38, -50}, extent = {{10, -10}, {-10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Basic.Star star annotation(Placement(visible = true, transformation(origin = {-38, 68}, extent = {{-10, -10}, {10, 10}}, rotation = 90)));
Modelica.Electrical.MultiPhase.Ideal.IdealOpeningSwitch downSW(Ron = fill(1e-4, 3), Goff = fill(1e-4, 3)) annotation(Placement(visible = true, transformation(origin = {-38, -20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Electrical.MultiPhase.Ideal.IdealOpeningSwitch upSW(Ron = fill(1e-4, 3), Goff = fill(1e-4, 3)) annotation(Placement(visible = true, transformation(origin = {-38, 40}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
Modelica.Blocks.Sources.Constant ampl[3](k = fill(0.7, 3)) annotation(Placement(visible = true, transformation(origin = {94, 78}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
Modelica.Blocks.Sources.Constant phase[3](k = {0, 120, -120}) annotation(Placement(visible = true, transformation(origin = {94, 40}, extent = {{-10, 10}, {10, -10}}, rotation = 180)));
PwmPulser pwmPulser[3](Fcar = fill(10000, 3)) annotation(Placement(visible = true, transformation(origin = {34, 62}, extent = {{-13, 13}, {13, -13}}, rotation = 180)));
Modelica.Electrical.Analog.Sources.ConstantVoltage V1(V = 100) annotation(Placement(visible = true, transformation(origin = {-98, 12}, extent = {{-10, 10}, {10, -10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(visible = true, transformation(origin = {68, -54}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Resistor Load1(R = 0.2) annotation(Placement(visible = true, transformation(origin = {-98, 50}, extent = {{-10, -10}, {10, 10}}, rotation = 270)));
Modelica.Electrical.Analog.Basic.Inductor Lf1(L = 5e-006) annotation(Placement(visible = true, transformation(origin = {-76, 78}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Modelica.Electrical.Analog.Basic.Capacitor dcCap(v(start = 100), C = 0.0002) annotation(Placement(visible = true, transformation(origin = {-60, 12}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
equation
connect(dcCap.p, Lf1.n) annotation(Line(points = {{-60, 22}, {-60, 78}, {-66, 78}}, color = {0, 0, 255}));
connect(dcCap.n, star1.pin_n) annotation(Line(points = {{-60, 2}, {-60, -60}, {-38, -60}}, color = {0, 0, 255}));
connect(Lf1.p, Load1.p) annotation(Line(points = {{-86, 78}, {-98, 78}, {-98, 60}}, color = {0, 0, 255}));
connect(star.pin_n, Lf1.n) annotation(Line(points = {{-38, 78}, {-66, 78}}, color = {0, 0, 255}));
connect(V1.p, Load1.n) annotation(Line(points = {{-98, 22}, {-98, 40}}, color = {0, 0, 255}));
connect(ground1.p, star2.pin_n) annotation(Line(points = {{68, -44}, {68, -36}}, color = {0, 0, 255}));
connect(V1.n, star1.pin_n) annotation(Line(points = {{-98, 2}, {-98, -60}, {-38, -60}}, color = {0, 0, 255}));
connect(phase.y, pwmPulser.Ph_deg) annotation(Line(points = {{83, 40}, {76, 40}, {76, 54.98}, {50.6, 54.98}}, color = {0, 0, 127}));
connect(ampl.y, pwmPulser.Ampl) annotation(Line(points = {{83, 78}, {72, 78}, {72, 70.32}, {50.6, 70.32}}, color = {0, 0, 127}));
connect(pwmPulser.Top, upSW.control) annotation(Line(points = {{19.7, 70.58}, {-23, 70.58}, {-23, 40}, {-32, 40}}, color = {255, 0, 255}));
connect(pwmPulser.Bot, downSW.control) annotation(Line(points = {{19.7, 54.46}, {-21, 54.46}, {-21, 24}, {-27, 24}, {-27, -20}, {-32, -20}}, color = {255, 0, 255}));
connect(upSW.plug_n, downSW.plug_p) annotation(Line(points = {{-38, 30}, {-38, -10}}, color = {0, 0, 255}));
connect(upSW.plug_p, star.plug_p) annotation(Line(points = {{-38, 50}, {-38, 58}}, color = {0, 0, 255}));
connect(downSW.plug_n, star1.plug_p) annotation(Line(points = {{-38, -30}, {-38, -40}}, color = {0, 0, 255}));
connect(Rf.plug_p, downSW.plug_p) annotation(Line(points = {{-16, 30}, {-38, 30}, {-38, -10}}, color = {0, 0, 255}));
connect(Rf.plug_n, Lf.plug_p) annotation(Line(points = {{4, 30}, {10, 30}}, color = {0, 0, 255}));
connect(Cf.plug_p, Lf.plug_n) annotation(Line(points = {{36, 10}, {34, 10}, {34, 30}, {30, 30}}, color = {0, 0, 255}));
connect(Cf.plug_p, Rload.plug_p) annotation(Line(points = {{36, 10}, {68, 10}}, color = {0, 0, 255}));
connect(Cf.plug_n, Rload.plug_n) annotation(Line(points = {{36, -10}, {68, -10}}, color = {0, 0, 255}));
connect(Rload.plug_n, star2.plug_p) annotation(Line(points = {{68, -10}, {68, -16}}, color = {0, 0, 255}));
annotation(experimentSetupOutput, Documentation(info = "<html>
<p>Il risultato è identico a quello che si ha con interruttori pilotati e dioidi in antiparallelo entrambi iteali.</p>
<p>Questo perché con un controllo senza blanking time i due inverter sono identici.</p>
<p>Il sisema più fisico è superiore perché consente di valutare anche gli effetti del blanking time.</p>
</html>"), experiment(StopTime = 0.04, Interval = 0.0005), Icon(coordinateSystem(extent = {{-120, -100}, {120, 100}})), Diagram(coordinateSystem(extent = {{-120, -100}, {120, 100}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2}), graphics = {Text(origin = {65.4045, -0.344234}, lineColor = {0, 0, 255}, extent = {{-110, -68}, {-16, -92}}, textString = "batt: 100Ah 20 kWp 500Acc")}));
end IdTrif2Filt;
model AVG "Sensor to measure the average value of input"
Modelica.Blocks.Interfaces.RealInput u annotation(Placement(transformation(extent = {{-118, -12}, {-78, 28}})));
Modelica.Blocks.Interfaces.RealOutput y annotation(Placement(transformation(extent = {{90, 0}, {110, 20}})));
Modelica.Blocks.Continuous.Integrator integrator annotation(Placement(transformation(extent = {{-60, -2}, {-40, 18}})));
Modelica.Blocks.Math.Add add(k2 = -1) annotation(Placement(transformation(extent = {{12, 0}, {32, 20}})));
Modelica.Blocks.Nonlinear.FixedDelay fixedDelay1(delayTime = 1 / Frequency) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 0, origin = {-14, -22})));
Modelica.Blocks.Math.Gain gain(k = Frequency) annotation(Placement(transformation(extent = {{52, 0}, {72, 20}})));
parameter Modelica.SIunits.Frequency Frequency = 50.0 "Frequency of signals";
equation
connect(integrator.u, u) annotation(Line(points = {{-62, 8}, {-98, 8}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(add.u1, integrator.y) annotation(Line(points = {{10, 16}, {-14, 16}, {-14, 8}, {-39, 8}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(fixedDelay1.y, add.u2) annotation(Line(points = {{-3, -22}, {4, -22}, {4, 4}, {10, 4}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(fixedDelay1.u, integrator.y) annotation(Line(points = {{-26, -22}, {-28, -22}, {-28, 8}, {-39, 8}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(gain.u, add.y) annotation(Line(points = {{50, 10}, {33, 10}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(gain.y, y) annotation(Line(points = {{73, 10}, {100, 10}}, color = {0, 0, 127}, smooth = Smooth.None));
annotation(Icon(coordinateSystem(preserveAspectRatio = true, extent = {{-100, -100}, {100, 100}}
Hello Massimo, i find five gramatical errors in model IdPwmTrif2, the correct text is:
i changed:
up correct in Top
down correct in Bot
ampl correct in Ampl
ph_deg correct in pPh_deg
ampl[3](k = 0.7) correct in ampl[3](k = fill(0.7, 3)
Now every model threephase pass the check, Compilation process finished successfully but there are no results in simulation an appear the errors:
stdout | OMEditInfo | <p>C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/FILE/SETTEMBRE 2015/invPWMPkg2015.IdPwmTrif1.exe -port=55042 -logFormat=xml -override=startTime=0,stopTime=0.1,stepSize=0.0002,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -r=invPWMPkg2015.IdPwmTrif1_res.mat -dasslJacobian=coloredNumerical -w -lv=LOG_STATS</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 128) at time 0.000000, system is singular for U[2, 2].</p>
stdout | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
stdout | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>[1] Real S2.n.v(start=0, nominal=1)</p>
LOG_LS | warning | <p>[2] Real S6.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[3] Real S2.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[4] Real S1.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[5] Real S4.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[6] Real S5.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>[7] Real S3.s(start=0, nominal=1)</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000000, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000000. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000000.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6e-007. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000001, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000001. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000001.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.4e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000003, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000003. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000003.</p>
stdout | warning | <p>Solving linear system 248 fails at time 3e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000006, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000006. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000006.</p>
stdout | warning | <p>Solving linear system 248 fails at time 6.2e-006. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000013, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000013. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000013.</p>
stdout | warning | <p>Solving linear system 248 fails at time 1.26e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000025, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000025. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000025.</p>
stdout | warning | <p>Solving linear system 248 fails at time 2.54e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000051, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000051. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000051.</p>
stdout | warning | <p>Solving linear system 248 fails at time 5.1e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000102, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000102. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000102.</p>
stdout | warning | <p>Solving linear system 248 fails at time 0.0001022. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Failed to solve linear system of equations (no. 248) at time 0.000096, system is singular for U[2, 2].</p>
LOG_LS | warning | <p>The default linear solver fails, the fallback solver with total pivoting is started at time 0.000096. That might raise performance issues, for more information use -lv LOG_LS.</p>
LOG_LS | warning | <p>Matrix singular!</p>
LOG_LS | warning | <p>under-determined linear system not solvable!</p>
stdout | warning | <p>Error solving linear system of equations (no. 248) at time 0.000096.</p>
stdout | warning | <p>Solving linear system 248 fails at time 9.58791e-005. For more information use -lv LOG_LS.</p>
stdout | info | <p>model terminate | linear system solver failed. | Simulation terminated at time 9.58791e-005</p>
LOG_STATS | info | <p>### STATISTICS ###</p>
stdout | error | <p>Process crashed<br>
Simulation process failed. Exited with code -3.</p>
if you are busy you can not respond, do not let problems. Bye
no, it's a problem of openmodelica solver, with dymola the battery library works good
thank you so much ceraolo
Thank you so much Ceraolo, your modelica work is very "consistent". A last question: tree-phase inverter IdPwmTrif don't have input e output pin, How can i trasform in a usable object for a photovoltaic plant for example? do you have a small guide?
there is a inverter DC/AC model that works good in openmodelica? Or do you have instruction to build this model?
to connect electrical component of modelica standard library and powersystem library component: where can i find instructions to connect electrical component with different kind of electrical connector. Where can i find instruction to adapt the connectors of this different library?
also component Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.ACDCConverter works good with 1.9.4 build 139 but not work good with new versions like build 295 or 300 for example.
In new builds not appear icon oj this component: strange...
this model work with build 139 version but don't work with build 295. It's strange that new version works less good a old version
model prova2
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid gri(f = 50, V = 400, phiSou = 0) annotation(Placement(transformation(extent = {{-94, 2}, {-74, 22}})));
Buildings.Electrical.DC.Sources.PVSimple pVSimple(V_nominal = 600, eta = 0.15, fAct = 0.95, A = 200) annotation(Placement(transformation(extent = {{38, -32}, {58, -12}})));
Buildings.BoundaryConditions.SolarIrradiation.DirectTiltedSurface HDirTil(til = 0.34906585039887, lat = 0.65798912800186, azi = -0.78539816339745) "Direct irradiation on tilted surface" annotation(Placement(transformation(extent = {{-70, 58}, {-50, 78}})));
Modelica.Blocks.Math.Add G "Total irradiation on tilted surface" annotation(Placement(transformation(extent = {{-34, 74}, {-14, 94}})));
Buildings.Electrical.DC.Storage.Battery battery(V_nominal = 600, EMax = 3600000000) annotation(Placement(transformation(extent = {{-20, 6}, {0, 26}})));
Modelica.Blocks.Sources.Constant PCha(k = 100000) "Charging power" annotation(Placement(transformation(extent = {{-58, 22}, {-38, 42}})));
Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.ACDCConverter conACDC(conversionFactor = 1.5, eta = 0.94) annotation(Placement(visible = true, transformation(extent = {{-42, -58}, {-22, -38}}, rotation = 0)));
Buildings.BoundaryConditions.SolarIrradiation.DiffusePerez HDifTil(til = 0.34906585039887, lat = 0.65798912800186, azi = -0.78539816339745) "Diffuse irradiation on tilted surface" annotation(Placement(visible = true, transformation(extent = {{-70, 88}, {-50, 108}}, rotation = 0)));
Buildings.BoundaryConditions.WeatherData.ReaderTMY3 weaDat(computeWetBulbTemperature = false, filNam = "modelica://Buildings/Resources/weatherdata/ITA_Brescia-Ghedi.160880_IGDG.mos") annotation(Placement(visible = true, transformation(extent = {{-104, 72}, {-84, 92}}, rotation = 0)));
equation
connect(weaDat.weaBus, HDirTil.weaBus) annotation(Line(points = {{-84, 82}, {-80, 82}, {-80, 68}, {-70, 68}}, color = {255, 204, 51}, thickness = 0.5));
connect(weaDat.weaBus, HDifTil.weaBus) annotation(Line(points = {{-84, 82}, {-84, 98}, {-70, 98}}, color = {255, 204, 51}, thickness = 0.5));
connect(HDifTil.H, G.u1) annotation(Line(points = {{-49, 98}, {-42, 98}, {-42, 90}, {-36, 90}}, color = {0, 0, 127}));
connect(conACDC.terminal_p, pVSimple.terminal) annotation(Line(points = {{-22, -48}, {6, -48}, {6, -22}, {38, -22}}, color = {0, 0, 255}));
connect(gri.terminal, conACDC.terminal_n) annotation(Line(points = {{-84, 2}, {-86, 2}, {-86, -48}, {-42, -48}}, color = {0, 120, 120}));
connect(HDirTil.H, G.u2) annotation(Line(points = {{-49, 68}, {-42, 68}, {-42, 78}, {-36, 78}}, color = {0, 0, 127}, smooth = Smooth.None));
connect(G.y, pVSimple.G) annotation(Line(points = {{-13, 84}, {16, 84}, {16, 36}, {48, 36}, {48, -10}}, color = {0, 0, 127}));
connect(battery.terminal, pVSimple.terminal) annotation(Line(points = {{-20, 16}, {-36, 16}, {-36, -2}, {12, -2}, {38, -2}, {38, -22}}, color = {0, 0, 255}));
connect(PCha.y, battery.P) annotation(Line(points = {{-37, 32}, {-10, 32}, {-10, 26}}, color = {0, 0, 127}));
annotation(uses(Buildings(version = "3.0.0"), Modelica(version = "3.2.1")), Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}})));
end prova2;
OMC v.1.9.4 build 139 work good with converters of buildings library, OMC v.1.9.4 build 295 no. Why? It's a step back?
the Beautyfull PowerSystem library and EnergyStorages Library don't work good for this problem, in many simulation appears the message: "Could not evaluate structural parameter (or constant): n_r which gives dimensions of array: L_r[n_r]. Array dimensions must be known at compile time."
Do You know if this problem will solved with the final version of 1.9.4 OMC?
" Translation Error
Error occurred while flattening model storage
Translation Error
[Buildings.Electrical.Interfaces.Terminal: 7:1-7:54]: Could not evaluate structural parameter (or constant): PhaseSystem.n which gives dimensions of array: v[PhaseSystem.n]. Array dimensions must be known at compile time.
OpenModelica has problems with determining the array size of certain modeling constructs. This is also reported in the OpenModelica regression tests, for example at https://test.openmodelica.org/libraries … Panels.err
I don't think there is anything we can do in the Buildings library to avoid this problem and I therefore close the ticket.
https://github.com/lbl-srg/modelica-bui … issues/461
When is it ready compatible version?
OpenModelica has problems with determining the array size of certain modeling constructs. This is also reported in the OpenModelica regression tests, for example at https://test.openmodelica.org/libraries … anels.err.
I don't think there is anything we can do in the Buildings library to avoid this problem and I therefore close the ticket.
it's a radical problem of openmodelica: https://trac.openmodelica.org/OpenModelica/ticket/2563
It seems that this comes from a bug when OpenModelica initializes the matrices [:,:] with the elements a and b.
The problem does not seem to come from cells in parallel but rather seems to come from the arrangement of matrix [:,:]. matrix with [x, 1] components seem to work when matrix with [1, x] components appear to pose problems. (A good test would be to exchange series vs parralèles in the matrix positions.)
you are not alone in having such problems with matrices [:,:]
The # 2563 bug seems to be the problem. It was closed and reopened in version 1.9.3 and could be resolved in a future release.
#2563 (Problem with PFPlusExt Pantelides algorithm) – OpenModelica
PowerSystems Libraty: there is a complete user guide?
The library needs many parameters to be used: it is necessary a complete user guide: do you have a link?
frequent error in PowerSystem Library: "Could not evaluate structural parameter (or constant): n_r which gives dimensions of array: L_r[n_r]. Array dimensions must be known at compile time."
an example in this model:
model Inverter2 "Inverter, controlled rectifier"
inner PowerSystems.System system(ref = "inertial") annotation(Placement(transformation(extent = {{-80, 60}, {-60, 80}})));
PowerSystems.AC3ph.Impedances.Inductor ind(r = 0.05) annotation(Placement(transformation(extent = {{-50, -10}, {-30, 10}})));
PowerSystems.AC3ph.Sensors.PVImeter meterAC(av = true, tcst = 0.1) annotation(Placement(transformation(extent = {{-20, -10}, {0, 10}})));
replaceable PowerSystems.AC3ph.Inverters.Inverter ac_dc(redeclare PowerSystems.Control.Modulation.PWMasyn modulator "sine PWM asyn", redeclare PowerSystems.AC3ph.Inverters.Components.InverterSwitch inverter "switch, no diode, no losses") annotation(Placement(transformation(extent = {{30, -10}, {10, 10}})));
PowerSystems.AC1ph_DC.Sensors.PVImeter meterDC(av = true, tcst = 0.1) annotation(Placement(transformation(extent = {{40, -10}, {60, 10}})));
PowerSystems.AC1ph_DC.Sources.DCvoltage vDC(pol = 0, puUnits = true, V_nom = 400, v0 = 1.2) annotation(Placement(transformation(extent = {{90, -10}, {70, 10}})));
PowerSystems.AC3ph.Nodes.GroundOne grd2 annotation(Placement(transformation(extent = {{90, -10}, {110, 10}})));
replaceable PowerSystems.AC3ph.Machines.Asynchron asynchron(par(V_nom = 400, S_nom = 1e3)) annotation(Placement(transformation(extent = {{-56, -34}, {-76, -14}})));
PowerSystems.Mechanics.Rotation.Rotor rotor annotation(Placement(transformation(extent = {{-72, -72}, {-52, -52}})));
PowerSystems.Mechanics.Rotation.Torque torq(scType_par = false, tau0 = 10) annotation(Placement(transformation(extent = {{-12, -72}, {-32, -52}})));
PowerSystems.Blocks.Signals.Transient trsSignal(t_change = 0.5, t_duration = 1, s_ini = 10, s_fin = 10) annotation(Placement(transformation(extent = {{24, -72}, {4, -52}})));
equation
connect(ind.term_n, meterAC.term_p) annotation(Line(points = {{-30, 0}, {-20, 0}}, color = {0, 110, 110}));
connect(meterAC.term_n, ac_dc.AC) annotation(Line(points = {{0, 0}, {10, 0}}, color = {0, 110, 110}));
connect(ac_dc.DC, meterDC.term_p) annotation(Line(points = {{30, 0}, {40, 0}}, color = {0, 0, 255}));
connect(meterDC.term_n, vDC.term) annotation(Line(points = {{60, 0}, {70, 0}}, color = {0, 0, 255}));
connect(vDC.neutral, grd2.term) annotation(Line(points = {{90, 0}, {90, 0}}, color = {0, 0, 255}));
connect(ind.term_p, asynchron.term) annotation(Line(points = {{-50, 0}, {-50, -24}, {-56, -24}}, color = {0, 120, 120}, smooth = Smooth.None));
connect(asynchron.airgap, rotor.flange_p) annotation(Line(points = {{-66, -18}, {-88, -18}, {-88, -62}, {-72, -62}}, color = {0, 0, 0}, smooth = Smooth.None));
connect(rotor.flange_n, torq.flange) annotation(Line(points = {{-52, -62}, {-32, -62}}, color = {0, 0, 0}, smooth = Smooth.None));
connect(torq.tau, trsSignal.y) annotation(Line(points = {{-12, -62}, {4, -62}}, color = {0, 0, 127}, smooth = Smooth.None));
annotation(Documentation(info = "<html>
<p><a href=\"modelica://PowerSystems.Examples.Spot.AC3ph\">up users guide</a></p>
</html>"), experiment(StopTime = 1, Interval = 0.2e-3), uses(PowerSystems(version = "0.4.0"), Modelica(version = "3.2.1")), Diagram(coordinateSystem(preserveAspectRatio = false, extent = {{-100, -100}, {100, 100}}), graphics));
end Inverter2;
What is the problem?
model storage
Modelica.Blocks.Math.Abs abs1(generateEvent = false) annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = -90, origin = {74, 6})));
Modelica.Blocks.Sources.Sine sine(amplitude = 1000, freqHz = 0.000015704, phase = 0, offset = 0, startTime = 0) annotation(Placement(transformation(extent = {{38, 48}, {58, 68}})));
Buildings.Electrical.DC.Sources.PVSimple pVSimple1(V_nominal = 400, A = 200, fAct = 0.9, eta = 0.12) annotation(Placement(visible = true, transformation(origin = {70, -64}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Grid gri(f = 50, V = 400, phiSou = 0.1) annotation(Placement(visible = true, transformation(origin = {-76, -16}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.ACDCConverter conACDC(conversionFactor = 1, eta = 0.9) annotation(Placement(visible = true, transformation(origin = {0, -54}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
connect(abs1.y, pVSimple1.G) annotation(Line(points = {{74, -5}, {70, -5}, {70, -52}, {70, -52}}, color = {0, 0, 127}));
connect(sine.y, abs1.u) annotation(Line(points = {{59, 58}, {74, 58}, {74, 20}, {74, 20}}, color = {0, 0, 127}));
connect(conACDC.terminal_n, gri.terminal) annotation(Line(points = {{-10, -54}, {-38, -54}, {-38, -78}, {-76, -78}, {-76, -26}}, color = {0, 120, 120}));
connect(conACDC.terminal_p, pVSimple1.terminal) annotation(Line(points = {{10, -54}, {36, -54}, {36, -64}, {60, -64}}, color = {0, 0, 255}));
end storage;
this model gives error:
" Translation Error
Error occurred while flattening model storage
Translation Error
[Buildings.Electrical.Interfaces.Terminal: 7:1-7:54]: Could not evaluate structural parameter (or constant): PhaseSystem.n which gives dimensions of array: v[PhaseSystem.n]. Array dimensions must be known at compile time.
the error is in the last line of this script where the text is in evidence :
connector Terminal "Generalized electric terminal"
extends Buildings.Electrical.Interfaces.BaseTerminal;
replaceable package PhaseSystem = PhaseSystems.PartialPhaseSystem "Phase system" annotation(choicesAllMatching = true);
PhaseSystem.Voltage v[PhaseSystem.n] "Voltage vector";
flow PhaseSystem.Current i[PhaseSystem.n] "Current vector";
PhaseSystem.ReferenceAngle theta[PhaseSystem.m] "Optional vector of phase angles";
How can i connect components of Power System Library with component of Modelica electrical library or modelica Buildings electrical library? the components have different kind of pins an there is incompatibility.
For example i want connect PV plant component of Buildings library with inverter DC/AC of power system library: they have 2 different terminal/pin
Hello, Building Library is amazing but in openmodelica it is impossible to connect bus port, cai I ask you why? i can't drawing the line between components. In Dymola everithing is ok only in openmodelica this problem
I have a model that pass the check.
With [n , 1] array simulation work good.
With [n , m] array simulation don't start and there is an alarm:
"The problem is structurally singular.
It has 1220 scalar unknowns and 1220 scalar equations.
The Real part has 1216 unknowns and 1216 equations.
The Integer part has 4 unknowns and 4 equations.
The Boolean part has 0 unknowns and 0 equations.
The String part has 0 unknowns and 0 equations.
Attempting to further localize singularity.
Singularity of Modelica_EnergyStorages.Batteries.Stacks.Basic.LinearDynamicImpedanceMatrix is at the top level.
The model Modelica_EnergyStorages.Batteries.Stacks.Basic.LinearDynamicImpedanceMatrix is structurally singular,
when assuming the most generic outside couplings to all the flow variables of its connectors.
The problem is structurally singular for the element type Real.
The number of scalar Real unknown elements are 1216.
The number of scalar Real equation elements are 1216. "
What is the problem?
error:
The problem is structurally singular.
It has 1220 scalar unknowns and 1220 scalar equations.
The Real part has 1216 unknowns and 1216 equations.
The Integer part has 4 unknowns and 4 equations.
The Boolean part has 0 unknowns and 0 equations.
The String part has 0 unknowns and 0 equations.
Attempting to further localize singularity.
The model component fixedTemperature[1, 1] has the same number of unknowns and equations.
The model component fixedTemperature[1, 2] has the same number of unknowns and equations.
The model component fixedTemperature[2, 1] has the same number of unknowns and equations.
The model component fixedTemperature[2, 2] has the same number of unknowns and equations.
The model component cell[1, 1] has the same number of unknowns and equations.
The model component cell[1, 2] has the same number of unknowns and equations.
The model component cell[2, 1] has the same number of unknowns and equations.
The model component cell[2, 2] has the same number of unknowns and equations.
Singularity of Modelica_EnergyStorages.Batteries.Stacks.Basic.LinearDynamicImpedanceMatrix is at the top level.
The model Modelica_EnergyStorages.Batteries.Stacks.Basic.LinearDynamicImpedanceMatrix is structurally singular,
when assuming the most generic outside couplings to all the flow variables of its connectors.
The problem is structurally singular for the element type Real.
The number of scalar Real unknown elements are 1216.
The number of scalar Real equation elements are 1216.
The model includes the following hints:
An electrical current cannot be uniquely calculated.
The reason could be that
- a ground object is missing (Modelica.Electrical.Analog.Basic.Ground)
to define the zero potential of the electrical circuit, or
- a connector of an electrical component is not connected.
this model works good, in this model the principal parameters is a matrix [6,1], every array [ : , 1 ] (one column) is ok:
"model AdvancedStackCycling2
extends Modelica.Icons.Example;
parameter CellRecords.LinearDynamicImpedance.LinearDynamicImpedanceParameters cellParameters2[:, :] = {{CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters()}} ...."
In this model simulation don't start, check is ok but simulation no. In this model the principal parameters is a array [3,2]:
"model AdvancedStackCycling2
extends Modelica.Icons.Example;
parameter CellRecords.LinearDynamicImpedance.LinearDynamicImpedanceParameters cellParameters2[:, :] = { CellRecords.LinearDynamicImpedance.Test1Parameters(), CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters(), CellRecords.LinearDynamicImpedance.Test1Parameters()}, {CellRecords.LinearDynamicImpedance.Test1Parameters(), {CellRecords.LinearDynamicImpedance.Test1Parameters()} } ...."
If the array column is difference to 1 (array [ 7, 2] forx example) simulation don't start. Every array with one column is ok, with the others array model pass the check but simulation don't start
"the model is structurally singular" is the alarm message during the check. What is the problem?
i have this problem: check is ok but in when i play simulation button there is this error:
Translation Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!
Symbolic Error "[C:/OpenModelica1.9.2/lib/omlibrary/Modelica 3.2.1/Blocks/Math.mo: 1239:5-1240:25]: Model is structurally singular, error found sorting equations 16: batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.abs.y = if noEvent(batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i >= 0.0) then batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i else -batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i; 17: der(batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y) = batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.k * batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.abs.y; 52: batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.abs.y = if noEvent(batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i >= 0.0) then batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i else -batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i; 53: der(batteryStack.cell[1,1]......................................."
what is the problem?
i have this problem: check is ok but in when i play simulation button there is this error: "[C:/OpenModelica1.9.2/lib/omlibrary/Modelica 3.2.1/Blocks/Math.mo: 1239:5-1240:25]: Model is structurally singular, error found sorting equations 16: batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.abs.y = if noEvent(batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i >= 0.0) then batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i else -batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i; 17: der(batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y) = batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.k * batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.abs.y; 52: batteryStack.cell[1,1].linearDynamicImpedance.cellImpedance.rs.impedanceValue.qabs.abs.y = if noEvent(batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i >= 0.0) then batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i else -batteryStack.cell[1,1].linearDynamicImpedance.IBatt_int.i; 53: der(batteryStack.cell[1,1]......................................."
what is the problem?
Hello, i want to sell a new Modelica library created by me. Is it possibible? Do i can freely or It is necessary a license?
Hello, i want to sell a new Modelica library created ad develpment by me. Is it possibible? Do i can freely or It is necessary a license?
I have modified and made functional library Energy Storage. It took me months of work. The library is working good. Pleasecontact me privately if you want information. res@nanoride.it
https://www.facebook.com/groups/937587629630591/
for friendship between modelica users
https://www.facebook.com/groups/937587629630591/
for friendship between modelica users
the model below pass the instance control of Openmodelica and Dymola but don't pass Check control of Openmodelica, why?
this is the model
model LinearDynamicImpedance
"Battery cell model with a linear dependant, dynamic internal impedance and with basic cell measurement"
extends Modelica_EnergyStorages.Icons.CellLinearDynamicImpedance;
extends Modelica_EnergyStorages.Batteries.Components.OperationalParameters;
parameter
Modelica_EnergyStorages.CellRecords.LinearDynamicImpedance.LinearDynamicImpedanceParameters
cellParameters1 = Modelica_EnergyStorages.CellRecords.LinearDynamicImpedance.Test1Parameters();
parameter Real SOCini(start = 0.5) "Initial state of charge" annotation(Dialog(group = "Initialization"));
final parameter Modelica.SIunits.Time tini(fixed = false) "Initial time";
Modelica_EnergyStorages.Sensors.CellMeasurement cellMeasurement annotation(Placement(transformation(extent = {{20, -20}, {-20, 20}}, rotation = 0)));
Modelica.Electrical.Analog.Interfaces.PositivePin pin_p annotation(Placement(transformation(extent = {{-10, 90}, {10, 110}}, rotation = 0)));
Modelica.Electrical.Analog.Interfaces.NegativePin pin_n "negative pin" annotation(Placement(transformation(extent = {{-10, -110}, {10, -90}}, rotation = 0)));
Modelica_EnergyStorages.Interfaces.SingleCellBus.Bus singleCellBus annotation(Placement(transformation(origin = {-60, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 90), iconTransformation(extent = {{-20, -20}, {20, 20}}, rotation = 270, origin = {-52, 0})));
protected
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a internalHeatPort annotation(Placement(transformation(extent = {{76, -4}, {84, 4}})));
public
Modelica.Thermal.HeatTransfer.Sources.FixedTemperature fixedTemperature(final T = TOperational) if not useHeatPort annotation(Placement(transformation(extent = {{-10, -10}, {10, 10}}, rotation = 90, origin = {80, -50})));
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a heatPort if useHeatPort annotation(Placement(transformation(extent = {{86, -10}, {106, 10}}, rotation = 0), iconTransformation(extent = {{44, -10}, {64, 10}})));
Modelica_EnergyStorages.Batteries.Cells.Basic.LinearDynamicImpedance linearDynamicImpedance(
TOperational = TOperational, final useHeatPort = false, final SOCini = SOCini,
final cellParameters=
cellParameters1) annotation(Placement(transformation(extent = {{40, -20}, {80, 20}})));
initial equation
tini = time;
equation
connect(cellMeasurement.pin_p, pin_p) annotation(Line(points = {{0, 20}, {0, 100}}, color = {0, 0, 255}));
connect(cellMeasurement.pin_n, pin_n) annotation(Line(points = {{0, -20}, {0, -58}, {0, -100}}, color = {0, 0, 255}));
connect(cellMeasurement.T, singleCellBus.T) annotation(Text(string = "%second", index = 1, extent = [6, 3; 6, 3], style(color = 0, rgbcolor = {0, 0, 0})), Line(points = {{-22, 0}, {-22, 0}, {-60, 0}}, color = {0, 0, 127}));
connect(fixedTemperature.port, internalHeatPort) annotation(Line(points = {{80, -40}, {80, 0}}, color = {191, 0, 0}, smooth = Smooth.None));
connect(cellMeasurement.v, singleCellBus.v) annotation(Line(points = {{-22, -12}, {-60, -12}, {-60, 0}}, color = {0, 0, 127}, smooth = Smooth.None), Text(string = "%second", index = 1, extent = {{6, 3}, {6, 3}}));
connect(cellMeasurement.i, singleCellBus.i) annotation(Line(points = {{-22, 12}, {-60, 12}, {-60, 0}}, color = {0, 0, 127}, smooth = Smooth.None), Text(string = "%second", index = 1, extent = {{6, 3}, {6, 3}}));
connect(internalHeatPort, heatPort) annotation(Line(points = {{80, 0}, {96, 0}}, color = {191, 0, 0}, smooth = Smooth.None));
connect(linearDynamicImpedance.pin_p, cellMeasurement.pinCell_p) annotation(Line(points = {{60, 20}, {60, 26}, {40, 26}, {40, 12}, {20, 12}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(cellMeasurement.pinCell_n, linearDynamicImpedance.pin_n) annotation(Line(points = {{20, -12}, {40, -12}, {40, -26}, {60, -26}, {60, -20}}, color = {0, 0, 255}, smooth = Smooth.None));
connect(linearDynamicImpedance.heatPort, internalHeatPort) annotation(Line(points = {{70.8, 0}, {80, 0}}, color = {191, 0, 0}, smooth = Smooth.None));
connect(cellMeasurement.heatPort, internalHeatPort) annotation(Line(points = {{20, 0}, {30, 0}, {30, -32}, {80, -32}, {80, 0}}, color = {191, 0, 0}, smooth = Smooth.None));
annotation(Diagram(graphics), Icon(graphics));
end LinearDynamicImpedance;
message error:
"Check of Modelica_EnergyStorages.Batteries.Cells.WithMeasurement.LinearDynamicImpedance completed successfully.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {OCVtableOnFile = (typed)false DAE.PROP(Boolean, C_CONST), value: false, OCVtable = (typed){{0.0, 2.7}, {0.008500000000000001, 3.131}, {0.05, 3.35}, {0.1, 3.49}, {0.2, 3.55}, {0.4, 3.65}, {0.6, 3.75}, {0.75, 3.85}, {0.9, 4.0}, {1.0, 4.2}} DAE.PROP(Real[10, 2], C_CONST), value: {{0.0,2.7},{0.008500000000000001,3.131},{0.05,3.35},{0.1,3.49},{0.2,3.55},{0.4,3.65},{0.6,3.75},{0.75,3.85},{0.9,4.0},{1.0,4.2}}} and final = (typed)Modelica_EnergyStorages.CellRecords.Components.SOCOCV(false, {{0.0, 2.7}, {0.008500000000000001, 3.131}, {0.05, 3.35}, {0.1, 3.49}, {0.2, 3.55}, {0.4, 3.65}, {0.6, 3.75}, {0.75, 3.85}, {0.9, 4.0}, {1.0, 4.2}}, \"NoName\", \"NoName\") DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.SOCOCV
Boolean OCVtableOnFile;
Real[0, 2] OCVtable;
String OCVtableName;
String OCVfileName;
end Modelica_EnergyStorages.CellRecords.Components.SOCOCV;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.SOCOCV
OCVtableOnFile = false,
OCVtable = {{0.0,2.7},{0.008500000000000001,3.131},{0.05,3.35},{0.1,3.49},{0.2,3.55},{0.4,3.65},{0.6,3.75},{0.75,3.85},{0.9,4.0},{1.0,4.2}},
OCVtableName = \"NoName\",
OCVfileName = \"NoName\"
end Modelica_EnergyStorages.CellRecords.Components.SOCOCV; on component SOCOCV.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {C0 = (typed)140000 DAE.PROP(Integer, C_CONST), value: 140000, aging {Qini = (typed)3000 DAE.PROP(Integer, C_CONST), value: 3000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , temperature {Tref = (typed)293.15 DAE.PROP(Real, C_CONST), value: 293.15, alpha = (typed)1e-005 DAE.PROP(Real, C_CONST), value: 1e-005} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity(144000.0, Modelica_EnergyStorages.CellRecords.Components.Aging(5000.0, 0.1, 0.1), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(300.0, 0.0)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity
Real(quantity = \"ElectricCharge\", unit = \"C\") C0;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity
C0 = 144000.0,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 5000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 300.0,
alpha = 0.0
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity; on component capacity.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {R0 = (typed)0.0001 DAE.PROP(Real, C_CONST), value: 0.0001, SOC {kSOC = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , aging {Qini = (typed)5000 DAE.PROP(Integer, C_CONST), value: 5000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , temperature {alpha = (typed)0.001 DAE.PROP(Real, C_CONST), value: 0.001} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.Resistance(0.0001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.1, 0.1), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(300.0, 0.1)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.0001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 300.0,
alpha = 0.1
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; on component Rs.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {xc = (typed)0.8 DAE.PROP(Real, C_CONST), value: 0.8, xz = (typed)2 DAE.PROP(Integer, C_CONST), value: 2} and final = (typed)Modelica_EnergyStorages.CellRecords.Components.SOH(0.8, 2.0) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.SOH
Real(min = 0.0, max = 1.0) xc;
Real(min = 1.0) xz;
end Modelica_EnergyStorages.CellRecords.Components.SOH;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.SOH
xc = 0.8,
xz = 2.0
end Modelica_EnergyStorages.CellRecords.Components.SOH; on component SoH.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {Isd0 = (typed)1e-005 DAE.PROP(Real, C_CONST), value: 1e-005, aging {Qini = (typed)3000 DAE.PROP(Integer, C_CONST), value: 3000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.Selfdischarge(0.0, Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.1, 0.1)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.Selfdischarge
Real(quantity = \"ElectricCurrent\", unit = \"A\") Isd0;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Selfdischarge;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.Selfdischarge
Isd0 = 0.0,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Selfdischarge; on component Isd.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element = (typed){Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(3500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(200.0, 0.1, 0.1))), Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.002, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(4000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(4500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(400.0, 0.1, 0.1)))} DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.RCelement
record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; Rd;
record Modelica_EnergyStorages.CellRecords.Components.Capacitance
Real(quantity = \"Capacitance\", unit = \"F\", min = 0.0) C0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance; Cd;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;[2], C_CONST), value: {record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 3500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 200.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;,record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.002,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 4000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 4500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 400.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;} and final = (typed){Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(3500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(200.0, 0.1, 0.1))), Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.002, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(4000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(4500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(400.0, 0.1, 0.1)))} DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.RCelement
record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; Rd;
record Modelica_EnergyStorages.CellRecords.Components.Capacitance
Real(quantity = \"Capacitance\", unit = \"F\", min = 0.0) C0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance; Cd;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;[2], C_CONST), value: {record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 3500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 200.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;,record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.002,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 4000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 4500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 400.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;} on component RC.
[C:/Users/Dell_WSt3500/Documents/UFFICIO CLAUDIO PC/COMMESSE 2015/MODELICA/LIBRERIE 2014/ELETTRICA/Modelica_EnergyStorages-master/libreria modificata/Modelica_EnergyStorages.mo:419:11-421:2042:writable] Error: Variable linearDynamicImpedance.cellParameters: Duplicate modification of element {OCVtableOnFile = (typed)false DAE.PROP(Boolean, C_CONST), value: false, OCVtable = (typed){{0.0, 2.7}, {0.008500000000000001, 3.131}, {0.05, 3.35}, {0.1, 3.49}, {0.2, 3.55}, {0.4, 3.65}, {0.6, 3.75}, {0.75, 3.85}, {0.9, 4.0}, {1.0, 4.2}} DAE.PROP(Real[10, 2], C_CONST), value: {{0.0,2.7},{0.008500000000000001,3.131},{0.05,3.35},{0.1,3.49},{0.2,3.55},{0.4,3.65},{0.6,3.75},{0.75,3.85},{0.9,4.0},{1.0,4.2}}} and final = (typed)Modelica_EnergyStorages.CellRecords.Components.SOCOCV(false, {{0.0, 2.7}, {0.008500000000000001, 3.131}, {0.05, 3.35}, {0.1, 3.49}, {0.2, 3.55}, {0.4, 3.65}, {0.6, 3.75}, {0.75, 3.85}, {0.9, 4.0}, {1.0, 4.2}}, \"NoName\", \"NoName\") DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.SOCOCV
Boolean OCVtableOnFile;
Real[0, 2] OCVtable;
String OCVtableName;
String OCVfileName;
end Modelica_EnergyStorages.CellRecords.Components.SOCOCV;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.SOCOCV
OCVtableOnFile = false,
OCVtable = {{0.0,2.7},{0.008500000000000001,3.131},{0.05,3.35},{0.1,3.49},{0.2,3.55},{0.4,3.65},{0.6,3.75},{0.75,3.85},{0.9,4.0},{1.0,4.2}},
OCVtableName = \"NoName\",
OCVfileName = \"NoName\"
end Modelica_EnergyStorages.CellRecords.Components.SOCOCV; on component SOCOCV.
Error: Duplicate modification of element {C0 = (typed)140000 DAE.PROP(Integer, C_CONST), value: 140000, aging {Qini = (typed)3000 DAE.PROP(Integer, C_CONST), value: 3000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , temperature {Tref = (typed)293.15 DAE.PROP(Real, C_CONST), value: 293.15, alpha = (typed)1e-005 DAE.PROP(Real, C_CONST), value: 1e-005} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity(144000.0, Modelica_EnergyStorages.CellRecords.Components.Aging(5000.0, 0.1, 0.1), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(300.0, 0.0)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity
Real(quantity = \"ElectricCharge\", unit = \"C\") C0;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity
C0 = 144000.0,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 5000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 300.0,
alpha = 0.0
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.ChargeCapacity; on component capacity.
Error: Duplicate modification of element {R0 = (typed)0.0001 DAE.PROP(Real, C_CONST), value: 0.0001, SOC {kSOC = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , aging {Qini = (typed)5000 DAE.PROP(Integer, C_CONST), value: 5000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} , temperature {alpha = (typed)0.001 DAE.PROP(Real, C_CONST), value: 0.001} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.Resistance(0.0001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.1, 0.1), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(300.0, 0.1)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.0001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 300.0,
alpha = 0.1
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; on component Rs.
Error: Duplicate modification of element {xc = (typed)0.8 DAE.PROP(Real, C_CONST), value: 0.8, xz = (typed)2 DAE.PROP(Integer, C_CONST), value: 2} and final = (typed)Modelica_EnergyStorages.CellRecords.Components.SOH(0.8, 2.0) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.SOH
Real(min = 0.0, max = 1.0) xc;
Real(min = 1.0) xz;
end Modelica_EnergyStorages.CellRecords.Components.SOH;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.SOH
xc = 0.8,
xz = 2.0
end Modelica_EnergyStorages.CellRecords.Components.SOH; on component SoH.
Error: Duplicate modification of element {Isd0 = (typed)1e-005 DAE.PROP(Real, C_CONST), value: 1e-005, aging {Qini = (typed)3000 DAE.PROP(Integer, C_CONST), value: 3000, kQabs = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1, kt = (typed)0.1 DAE.PROP(Real, C_CONST), value: 0.1} } and final = (typed)Modelica_EnergyStorages.CellRecords.Components.Selfdischarge(0.0, Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.1, 0.1)) DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.Selfdischarge
Real(quantity = \"ElectricCurrent\", unit = \"A\") Isd0;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Selfdischarge;, C_CONST), value: record Modelica_EnergyStorages.CellRecords.Components.Selfdischarge
Isd0 = 0.0,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Selfdischarge; on component Isd.
Error: Duplicate modification of element = (typed){Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(3500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(200.0, 0.1, 0.1))), Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.002, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(4000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(4500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(400.0, 0.1, 0.1)))} DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.RCelement
record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; Rd;
record Modelica_EnergyStorages.CellRecords.Components.Capacitance
Real(quantity = \"Capacitance\", unit = \"F\", min = 0.0) C0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance; Cd;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;[2], C_CONST), value: {record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 3500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 200.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;,record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.002,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 4000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 4500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 400.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;} and final = (typed){Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.001, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(3000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(3500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(200.0, 0.1, 0.1))), Modelica_EnergyStorages.CellRecords.Components.RCelement(Modelica_EnergyStorages.CellRecords.Components.Resistance(0.002, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(4000.0, 0.001, 0.001), Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency(293.0, 0.0001)), Modelica_EnergyStorages.CellRecords.Components.Capacitance(4500.0, Modelica_EnergyStorages.CellRecords.Components.SOCDependency(0.1), Modelica_EnergyStorages.CellRecords.Components.Aging(400.0, 0.1, 0.1)))} DAE.PROP(record Modelica_EnergyStorages.CellRecords.Components.RCelement
record Modelica_EnergyStorages.CellRecords.Components.Resistance
Real(quantity = \"Resistance\", unit = \"Ohm\") R0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Real(quantity = \"ThermodynamicTemperature\", unit = \"K\", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = \"degC\") Tref;
Real(quantity = \"LinearTemperatureCoefficient\", unit = \"1/K\") alpha;
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency; temperature;
end Modelica_EnergyStorages.CellRecords.Components.Resistance; Rd;
record Modelica_EnergyStorages.CellRecords.Components.Capacitance
Real(quantity = \"Capacitance\", unit = \"F\", min = 0.0) C0;
record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
Real kSOC;
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency; SOC;
record Modelica_EnergyStorages.CellRecords.Components.Aging
Real(quantity = \"ElectricCharge\", unit = \"C\") Qini;
Real(quantity = \"1/Modelica.SIunits.ElectricCharge\", unit = \"1/(A.s)\") kQabs;
Real(quantity = \"1/Modelica.SIunits.Time\", unit = \"1/s\") kt;
end Modelica_EnergyStorages.CellRecords.Components.Aging; aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance; Cd;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;[2], C_CONST), value: {record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.001,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 3000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 3500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 200.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;,record Modelica_EnergyStorages.CellRecords.Components.RCelement
Rd = record Modelica_EnergyStorages.CellRecords.Components.Resistance
R0 = 0.002,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 4000.0,
kQabs = 0.001,
kt = 0.001
end Modelica_EnergyStorages.CellRecords.Components.Aging;,
temperature = record Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency
Tref = 293.0,
alpha = 0.0001
end Modelica_EnergyStorages.CellRecords.Components.TemperatureDependency;
end Modelica_EnergyStorages.CellRecords.Components.Resistance;,
Cd = record Modelica_EnergyStorages.CellRecords.Components.Capacitance
C0 = 4500.0,
SOC = record Modelica_EnergyStorages.CellRecords.Components.SOCDependency
kSOC = 0.1
end Modelica_EnergyStorages.CellRecords.Components.SOCDependency;,
aging = record Modelica_EnergyStorages.CellRecords.Components.Aging
Qini = 400.0,
kQabs = 0.1,
kt = 0.1
end Modelica_EnergyStorages.CellRecords.Components.Aging;
end Modelica_EnergyStorages.CellRecords.Components.Capacitance;
end Modelica_EnergyStorages.CellRecords.Components.RCelement;} on component RC.
Class Modelica_EnergyStorages.Batteries.Cells.WithMeasurement.LinearDynamicImpedance has 336 equation(s) and 336 variable(s).
245 of these are trivial equation(s).
"
"Compilation process finished successfully"but the result of simulation is:
"C:/Users/DELL_W~1/AppData/Local/Temp/OpenModelica/OMEdit/p4.exe -port=55288 -logFormat=xml -override=startTime=0,stopTime=10,stepSize=0.02,tolerance=1e-6,solver=dassl,outputFormat=mat,variableFilter=.* -dasslJacobian=coloredNumerical -w -lv=LOG_STATS
Process crashed
Simulation process failed. Exited with code -1073741819."
and
[1] 16:12:29 Translation Avvertimento
Assuming fixed start value for the following 1 variables: linearDynamicImpedance.cellImpedance.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = "C" ) .p4, .Modelica_EnergyStorages.Batteries.Cells.Basic.LinearDynamicImpedance$linearDynamicImpedance, .Modelica_EnergyStorages.Batteries.Components.Impedances.CellImpedance$linearDynamicImpedance$cellImpedance, .Modelica_EnergyStorages.Batteries.Components.Impedances.RCseriesLinear$linearDynamicImpedance$cellImpedance$rcseriesLinear, .Modelica_EnergyStorages.Batteries.Components.Impedances.RClinear$linearDynamicImpedance$cellImpedance$rcseriesLinear$rclinear, .Modelica_EnergyStorages.Batteries.Components.Impedances.Clinear$linearDynamicImpedance$cellImpedance$rcseriesLinear$rclinear$capacitor, .Modelica.Electrical.Analog.Basic.VariableCapacitor, .Modelica.SIunits.ElectricCharge type: Real
which is the problem?
model RCseriesLinear
"Series connection of several linear dependent resistance and capacitance combinations"
extends BasicImpedance;
parameter Modelica_EnergyStorages.CellRecords.Components.RCelement RC[:]
"Transient response resistance and capacitance parameters";
final parameter Integer num(min=1)=size(RC,1) "Number of serial RC elements";
RClinear rclinear[num](final RC=RC)
annotation (Placement(transformation(extent={{-20,-20},{20,20}},
rotation=0)));
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a heatPort
annotation (Placement(transformation(extent={{-10,90},{10,110}},
rotation=0)));
Modelica.Blocks.Interfaces.RealOutput Z annotation (Placement(
transformation(
extent={{-10,-10},{10,10}},
rotation=90,
origin={60,110})));
Modelica.Blocks.Math.Sum sum1(final nin=num) annotation (Placement(
transformation(
extent={{-10,-10},{10,10}},
rotation=90,
origin={60,70})));
equation
// real connection
for k in 1:num loop
connect(rclinear[k].t, t) annotation (Line(
points={{-12,-18},{-12,-40},{-60,-40},{-60,-90}},
color={0,0,127},
smooth=Smooth.None));
connect(rclinear[k].SOC, SOC) annotation (Line(
points={{0,-18},{0,-90}},
color={0,0,127},
smooth=Smooth.None));
connect(rclinear[k].i, i) annotation (Line(
points={{12,-18},{12,-40},{60,-40},{60,-90}},
color={0,0,127},
smooth=Smooth.None));
end for;
//serial connection
connect(p, rclinear[1].p) annotation (Line(
points={{-100,0},{-20,0}},
color={0,0,255},
smooth=Smooth.None));
for k in 1:(num-1) loop
connect(rclinear[k].n,rclinear[k+1].p);
end for;
connect(rclinear[num].n, n) annotation (Line(
points={{20,0},{100,0}},
color={0,0,255},
smooth=Smooth.None));
//temp connection
for k in 1:num loop
connect(heatPort, rclinear[k].heatPort) annotation (Line(points={{0,100},{0,20}},
color={191,0,0}));
end for;
connect(sum1.y, Z) annotation (Line(
points={{60,81},{60,110}},
color={0,0,127},
smooth=Smooth.None));
connect(rclinear.Z, sum1.u) annotation (Line(
points={{12,22},{12,40},{60,40},{60,58}},
color={0,0,127},
smooth=Smooth.None));
annotation(Dialog(enable = num>0),
Diagram(graphics),
Icon(graphics={
Line(
points={{-56,-8},{-56,-48}},
color={0,0,255},
thickness=0.5),
Line(
points={{-44,-8},{-44,-48}},
color={0,0,255},
thickness=0.5),
Line(points={{-90,0},{-80,0}}),
Rectangle(
extent={{-70,40},{-30,20}},
lineColor={0,0,255},
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Line(points={{-56,-30},{-80,-30},{-80,30},{-70,30}}, color={0,0,
255}),
Line(points={{-44,-30},{-20,-30},{-20,30},{-30,30}}, color={0,0,
255}),
Line(
points={{-20,0},{20,0}},
color={0,0,255},
pattern=LinePattern.Dot),
Line(
points={{44,-10},{44,-50}},
color={0,0,255},
pattern=LinePattern.Dot,
thickness=0.5),
Line(
points={{56,-10},{56,-50}},
color={0,0,255},
pattern=LinePattern.Dot,
thickness=0.5),
Rectangle(
extent={{30,40},{70,20}},
lineColor={0,0,255},
pattern=LinePattern.Dot,
fillColor={255,255,255},
fillPattern=FillPattern.Solid),
Line(
points={{44,-30},{20,-30},{20,30},{30,30}},
color={0,0,255},
pattern=LinePattern.Dot),
Line(
points={{56,-30},{80,-30},{80,30},{70,30}},
color={0,0,255},
pattern=LinePattern.Dot),
Text(
extent={{22,-12},{82,14}},
lineColor={0,0,255},
pattern=LinePattern.Dot,
textString = "num"),
Text(extent={{-80,-10},{-20,16}}, textString=
"1"),
Line(points={{-20,0},{0,0},{0,0},{0,0}}, color={0,0,255}),
Line(points={{-50,40},{-50,68},{0,68},{0,90}}, color={188,0,0}),
Line(
points={{50,40},{50,68},{0,68},{0,88}},
color={188,0,0},
pattern=LinePattern.Dash),
Text(
extent={{20,96},{100,76}},
lineColor={0,0,127},
fillColor={122,255,107},
fillPattern=FillPattern.Solid,
textString="Z"),
Text(
extent={{-180,140},{-40,80}},
lineColor={0,0,255},
fillColor={122,255,107},
fillPattern=FillPattern.Solid,
textString=
"%name")}));
end RCseriesLinear;
what is the error?
Check of Modelica_EnergyStorages.Batteries.Components.Impedances.RCseriesLinear:
Unspecified size for array of records RC; using default size for check. This must be specified before using the model.
Current version of the Modelica translator can only handle
array of components with fixed size.
But component rclinear had non-fixed array dimensions [num].
Modelica Text: line 8
All variables used in size expressions must be declared as constants or parameters.
Unspecified size for array of records rclinear; using default size for check. This must be specified before using the model.
the free library of modelica here: https://modelica.org/libraries but now there isn't energy storage library, so send me a mail to res@nanoride.it and a send you the library
In modelica everithing is possible but don't easy if you are new. Supercapacitors in graphene, vety interesting, can you explane me to res@nanoride.it?
HEllo, i need ECLIPSE for debugging openmodelica projects but on the web there are many many version of ECLIPSE. Do you have a link of the right version of ECLIPSE for openmodelica?
thank you, opmodelica debugger is no good to find line 723?
for example? sorry , i use modelica only 3 month. also can you post here a battery model that workin good?
You are fantastic! The last question: how can find line 723? i need to use the debug for find line 723? transformational debugger or algorithmic debugger?
Hi, do you have a good working battery model? If you can send me?
Hi, do you have a working battery? If you can send me?
Thank you so much, you are very kind. But you do you mean a wrong connection made by me (connection between battery and other external components) or a bad connection inside the battery? can I use debug to find out where is the error?
thank you but can you explane me a solution suggest?
when i use battery stack of modelica energy storage library with Test1Parameters there is an alarm:
"[C:/OpenModelica1.9.2/lib/omlibrary/Modelica_EnergyStorages 3.2.1.mo:723:11-723:99:writable] Warning: connect(SOC, SOC) connects the same connector instance! The connect equation will be ignored.
[C:/OpenModelica1.9.2/lib/omlibrary/Modelica_EnergyStorages 3.2.1.mo:724:11-724:97:writable] Warning: connect(C, C) connects the same connector instance! The connect equation will be ignored."
which is the problem?
can you explane me how do you did?
Hi, I would like to know the Italian active user on this forum. I propose to make a list with the following fields:
name - city - for what application do you use modelica? - experience level - months of use - web/mail contact (optional)
1- claudio- Peschiera del Garda - electric truck powertrain - low experience - 2 months - res@nanoride.it www.nanoride.it
i'd like to use LinearDynamicImpedanceMatrix battery stack but don't work. Every other componenti of battery library works good but the LinearDynamicImpedanceMatrix stack.
Any of you able to operate the LinearDynamicImpedenceMatrix component stack?
The parameters are setting:
UseHeatPort : false
TOperational 293.15 K
useCellTerminals: True
cellParameters: Modelica_EnergyStorages.CellRecords.LinearDynamicImpedance.LinearDynamicImpedanceParameters()
SOCini[ns,np]: [10,10]
screnn photo here https://www.facebook.com/photo.php?fbid … mp;theater
Alarm message:
"[10] 13:25:03 Validation of model p1
Error: [:0:0-0:0] Error occurred while flattening model p1
Error: [:0:0-0:0] Function argument capacity was not given by the function call, and does not have a default value.
Validation of model p1 completed with errors."
I have a problem, i need to modify the "SOCOV" component of energy storage library. With version r23933 of OMEdit for 2 days there has been the possibiliy to modify and save the components of library, now it doesn't work anymore. why?
If i try to change componet script the message on OMEdit is "you are changing a system class library. The system libraries are always read-only. The changes will not be saved."
???
thamk you
thank you Adeel, where can i find r23234 release.?
Hello Massimo, are you Italian like me? i send you a PM, bye
thank you, i have OME edit version "OpenModelica 1.9.1 (r22929) (RML version)"
Is it not last version? but i don't have copy command,
What is it MSL? so there is not one way to copy an object/class in OMEdit?
thank you so much, i have a problem, the OME edit do not enable me a copy of Library Window component . My OME edit do enable to make a copy of every component,. there is no command copy on Library Window (command described on page 45 of officiale user guide) . why?
thank you so much, i have a problem, the OMC edit do not enable me a copy of component "test1 parameter" . My OMC edit do enable to make a copy of ebery component. there is no command copy on Library Window (page 45 of user guide) . why?
- Index
- » Users
- » claudio34
- » Profile