Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » hammax
  • » Profile

Posts

Posts

Jun-03-13 08:37:55
I am having a few different beginner problems

Hi,
I'm also trying to edit/change examples in OMEdit.

Code:

//within Modelica.Fluid.Examples;

model HeatingSystem "Simple model of a heating system"
//extends Modelica;
extends Modelica.Icons.Example;
   replaceable package Medium =
      Modelica.Media.Water.StandardWater
     constrainedby Modelica.Media.Interfaces.PartialMedium;

I commented out "within Modelica.Fluid.Examples"
Now the parameters in the graphic-window are able to be looked at and can be documented via screenshot.
But the Icons are partially incomplete. Some kind of library is missing - but which one.
Inserting the recommended "extends Modelica;" spoils the code completely.

I read elsewhere, that for building and executing Fluid.examples the installation of a recent nightlybuild would be  necessary?
THX

Hi,
i'm also seeking for examples, where a mixer (see Rorin's threadstart) lets
2 streams of water at different temperatures combine to a single stream at a controlled temperature.
I only see a solution using 2 valves, which are "mechanically" reziprocal connected
and actuated by a P(ID)-controller.
Application-example; woodgasification-boilers for homeheating need a so called
return temperature raising facility to run at spezified temperatures.
I'm trying to insert this feature into modelica.heating_system-eample.
Max

  • Index
  • » Users
  • » hammax
  • » Profile
You are here: