Opened 10 years ago

Closed 10 years ago

#3093 closed defect (fixed)

WasteWater simulation not possible

Reported by: rhojjat@… Owned by: Martin Sjölund
Priority: high Milestone: 1.9.2
Component: Third-Party Libraries Version: trunk
Keywords: Cc:

Description

I've been trying to somehow find a to run and simulate the model for
the waste water plants, which is part of the library.

Is there any way for you guys to fix it? or could you at least inform
me about other/older softwares that can simulate that code?

kind regards
Parsa

Attachments (1)

WasteWater_MSL_3.2.1.zip (564.4 KB ) - added by Martin Sjölund 10 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Martin Sjölund, 10 years ago

Dymola can simulate the WasteWater examples, and is probably the only tool that can do so.
The reason is that the examples use ModelicaAdditions tables (which calls internal Dymola table interpolation functions).

Dymola can convert the rest of the library to MSL 3.2.1 (or at least doesn't report errors). These components might be possible to use in OpenModelica.

by Martin Sjölund, 10 years ago

Attachment: WasteWater_MSL_3.2.1.zip added

comment:2 by Martin Sjölund, 10 years ago

Attached the Dymola MSL 1.6->2.2->3.2 conversion. It goes into simulation where initialization fails.

comment:3 by Martin Sjölund, 10 years ago

Component: OMEditFrontend
Owner: changed from Adeel Asghar to Per Östlund
Status: newassigned

Note that omc +d=-scodeDep needs to be used since otherwise some essential parts are stripped out by omc.

comment:4 by Martin Sjölund, 10 years ago

Summary: Wast Water simulation not possibleWasteWater simulation not possible

comment:5 by Martin Sjölund, 10 years ago

Component: FrontendThird-Party Libraries
Owner: changed from Per Östlund to Martin Sjölund

comment:6 by Martin Sjölund, 10 years ago

Resolution: fixed
Status: assignedclosed

Works as of d42eef9.

OMC scripts are available in the library itself

loadModel(WasteWater);
simulate(WasteWater.ASM1.Examples.ComplexPlant,simflags="-overrideFile='"+Modelica.Utilities.Files.loadResource("modelica://WasteWater/Resources/ASM1/omc_complex.override.txt")+"'");

Still have that scodeDep bug, but I am closing this since I changed the packages to imports.

Note: See TracTickets for help on using tickets.