Comments (4)
#12595 implements the flag and the requested behaviour.
There's one minor issue, which is that it doesn't work for structural parameters (because the bindings are added to the flat model and not the instance tree which is used when evaluating component references). It should be possible to handle that too if needed, but we didn't handle it before #10386 anyway so I assume it won't be an issue for you.
from openmodelica.
Well, one could assume that structural parameters should get a properly defined default binding 😅
from openmodelica.
I assume it won't be an issue for you.
Well, the purpose is to allow translating non-standard models no matter when and how the compiler handles it.
I strongly vote for making this flag cover the entire translation process.
from openmodelica.
If it is easy to do that, I'm all for it. If it isn't, I think we should focus our scarce resources at implementing the standard, rather than implementing non-standard features 😃. Or at least take care of non-standard features that if we have requests from users. At the moment, I'm not aware of any that involve structural parameters.
from openmodelica.
Related Issues (20)
- Model Buildings.DHC.Loads.Steam.BaseClasses.Examples.ValveSelfActing fails validation HOT 13
- error: implicit instantiation of undefined template HOT 6
- Process crashed when importing Non-Standard python libraries (pandas) HOT 2
- For loop algorithm can fail with no error message. HOT 1
- undefined reference to `__imp_Py_SetProgramName HOT 10
- Warning on connections in MultiBody model from the frontend when translated with the new backend HOT 6
- --baseModelica --newBackend -d=mergeComponents fails because it doesn't vectorize bindings
- OMC cannot compile a Base Modelica model
- [NF/NB] structural array parameters are not getting evaluated HOT 2
- Error during model compilation - Use of undeclared identifier "X" HOT 11
- The NF wrongly reports about partial Medium package? HOT 2
- Model Buildings.DHC.Loads.Steam.Examples.BuildingTimeSeriesAtETS fails verification
- The model Buildings.DHC.Networks.Steam.Examples.DistributionCondensatePipe fails the verification HOT 2
- Model Buildings.DHC.Plants.Combined.Controls.BaseClasses.Validation.StagingPlant fails verification due to a race condition HOT 1
- Include External C Function into sources to export to FMU smoothly HOT 1
- Ship sinking timeline (simple model) HOT 10
- Can't pass `format` from a parameter in String function for annotation Text HOT 1
- Translation error when using `Colors.scalarToColor` directly with a call to a color map function HOT 1
- '3rdParty/gc/configure.ac', needed by '3rdParty/gc/Makefile'. HOT 1
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 openmodelica.