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
466 stars 166 forks source link

Consistent loss balance of components in MSL #360

Closed modelica-trac-importer closed 7 years ago

modelica-trac-importer commented 7 years ago

Reported by christiankral on 22 Apr 2010 07:15 UTC In Modelica.Electrical.Analog and Modelica.Electrical.MultiPhase conditional heat ports are included in order to consider the basic relationship

  - heat flow = loss power

in the resistor models. Due to the conditional heat ports power balance is properly taken into account and the dissipated heat flow can be treated, e.g., in a thermal model. The concept of loss balance is unfortunately not consistently implemented for the passive components of entire MSL.

Therefore I propose to include conditional heat ports in all passive components of the MSL, where heat dissipation occurs, e.g.,

Regarding conditional heat ports in the MSL also consider #359.


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

modelica-trac-importer commented 7 years ago

Comment by christiankral on 22 Apr 2010 07:51 UTC Added conditional heat port to EddyCurrent model of FluxTubes, see dedbde54d6b502b8085cf7cd414c0dbfd7968274

modelica-trac-importer commented 7 years ago

Comment by dietmarw on 22 Apr 2010 08:03 UTC Christian, dedbde54d6b502b8085cf7cd414c0dbfd7968274 introduced the uses annotation again. Could you remove that?

modelica-trac-importer commented 7 years ago

Comment by christiankral on 22 Apr 2010 10:05 UTC Removed uses (which was introduced in e007f9a26ee982560656b25f41cffb02d3851792), see 03aa0da876644664d8d76726c000fb5aa840267e

modelica-trac-importer commented 7 years ago

Modified by christiankral on 22 Apr 2010 10:08 UTC

modelica-trac-importer commented 7 years ago

Comment by AHaumer on 22 Apr 2010 10:13 UTC partly resolved by e34dfbd972ead6c71f1b738ef1df8f80654af251: PartialELementaryConditionalHeatPort and PartialConditionalHeatPort defined in Thermal.HeatTransfer.Interfaces - Electrical.Analog could use that / extend from that! Electrical.MultiPhase has a special ConditionalHeatPort, adapted for the m phases - would leave this model in MultiPhase. Used the ConditionalHeatPorts in Mechanics: Rotational.Damper, SpringDamper, ElastoBacklash, BearingFriction, Brake need some testing. Rotational.Clutch, OneWayClutch, LossyGear, GearBox: not yet implemented Translational.Damper, SpringDamper, ElastoGap, SupportFriction, Brake need some testing. Translational.MassWithStopAndFriction: not yet implemented. Are there other components (MultiBody?) that would need a ConditionalHeatPort?

modelica-trac-importer commented 7 years ago

Comment by AHaumer on 22 Apr 2010 10:41 UTC Yes, in MultiBody for sure Forces.Damper, SpringDamperParallel and SpringDamperSeries are candidates (don't know whether I got all).

modelica-trac-importer commented 7 years ago

Comment by AHaumer on 22 Apr 2010 16:43 UTC partly resolved by d348b2b61e00a256694390e4cbc36ad9d21a53cd; what's left: Rotational.ElastoBacklash, Brake, Clutch, OneWayClutch, LossyGear Translational.ElastoGap, Brake, MassWithStopAndFriction

modelica-trac-importer commented 7 years ago

Comment by AHaumer on 27 Apr 2010 11:40 UTC Conditional heatPorts are implemented, but assigned lossPower = 0 at the moment (will be fixed before release):

modelica-trac-importer commented 7 years ago

Comment by otter on 22 Jul 2010 15:21 UTC Fixed in 89309e8e0527fceb49ccf5366ef1cff4cdad5197 (all lossPower assigned; heatPort also added to Translational.Components.MassWithStopAndFriction; 3 example models added that use all dissipative elements in Modelica.Mechanics with the heatPorts enabled).

modelica-trac-importer commented 7 years ago

Modified by otter on 22 Jul 2010 15:21 UTC