Comments (4)
Just to clarify, I was mainly present because of/interested in OpenModelica compatibility; luckily I am not encumbered by many pre-existing libraries/models. :-)
from externalmedia.
I did a quick test on converting the library (master branch) to MSL 4.0.0 with Dymola 2022.
- several incompatible units in test models (time is multiplied e.g. with a pressure to have a varying input)
-in ExternalMedia.Media.BaseClasses.ExternalTwoPhaseMedium FluidConstants is replaceable, in MSL Media 2 phase mediums use an externally defined record for the fluid constants
Not simulating:
- ExternalMedia.Test.CoolProp.CO2.TestStatesSatSubcritical "T is not a valid number"
- ExternalMedia.Test.CoolProp.Pentane_hs "Inputs in Brent [143.470000,578.730000] do not bracket the root. Function values are [6916.155129,60536.779546]
The stack of functions is:
setState_hs_Unique29
setState_hs_Unique29(h, 1500.0, 0)" (last model I tested today)
from externalmedia.
Just a comment for Dymola: One has to set Advanced.RelyOnCompiledFunctions=true; in order to prevent Dymola from trying to recompile the external functions (Default behaviour up to Dymola 2018, has been changed after that). See Chapter 5.5.9 in the manual
from externalmedia.
This was closed in 8e37df8
from externalmedia.
Related Issues (20)
- Incompressible package runs in OpenModelica but not Dymola
- Model fails to execute when using two different fluids
- Model fails to run when using Modelica.Fluid.Sensors.Temperature
- Call ExternalMedia from OMPython HOT 1
- External function could not be found in any of the given shared libraries HOT 1
- External functions in ExternalMedia should be explicitly declared as pure
- Adding new fluids to CoolProp and use it in Modelica HOT 3
- dsmodel.c(77): fatal error C1083: externalmedialib.h: No such file or directory HOT 1
- MinGW compilation error for Dymola model using ExternalMedia
- Selection of different state variables (ph, pt, dT) for a CoolProp 2-phase medium HOT 1
- Cannot compute arbitrary partial derivatives with function `partialDeriv_state` HOT 2
- Wrong version of cmake required to compile the library HOT 1
- Restructuring of the repository HOT 4
- build error using cmake on windows HOT 1
- State functions do not seem to work properly HOT 6
- Compressible mixture support? HOT 2
- Custom fluid property support
- Incompressible CoolProp tests do not compile HOT 3
- Remove experiment annotation from partial models
- how to use fliudprop in external Media?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from externalmedia.