modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
470 stars 167 forks source link

initial values for semiconductors and switches #1903

Closed modelica-trac-importer closed 7 years ago

modelica-trac-importer commented 7 years ago

Reported by ahaumer on 8 Feb 2016 11:27 UTC When checking Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump for fixed initial conditions, I realized that the switches with arc (Modelica.Electrical.Analog.Ideal.{OpenerWithArc, CloserWithArc, ControlledOpenerWithArc, ControlledCloserWithArc}, as well as the ideal switches Modelica.Electrical.Analog.Ideal.{IdealOpeningSwitch, IdealClosingSwitch, ControlledIdealOpeningSwitch, ControlledIdealClosingSwitch} are implemented sligthly different and not all offer the possibility to set the initial conditions with fixed=true (for Boolan variable off). I suggest to implement 2 partial models Modelica.Electrical.Analog.Interfaces.{IdealSwitch, IdealSwitchWithArc} and extend the above mentioned switch models from these two partial models. Additionally it would be a great advantage for maintenance to implement a partial model Modelica.Electrical.Analog.Interfaces.IdealSemiconductor and extend Modelica.Electrical.Analog.Ideal.{IdealDiode, IdealThyristor, IdealGTOThyristor} from that partial model. These changes ar backwards compatible, and would be an improvement already for MSL 3.2.2 (possitiblity to set the initial conditions consistently, much easier maintenance).


Migrated-From: https://trac.modelica.org/Modelica/ticket/1903

modelica-trac-importer commented 7 years ago

Comment by ahaumer on 8 Feb 2016 11:28 UTC resolved by ac510b5a3533002c7e666344c72aa7322b8f1960