[root]/testsuite/uncertainties/TestModels
ThermoSysPro
(0 files, 0 lines)
Combustion
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
CombustionChambers
(0 files, 0 lines)
Sensors
(0 files, 0 lines)
Correlations
(0 files, 0 lines)
Misc
(0 files, 0 lines)
Thermal
(0 files, 0 lines)
ElectroMechanics
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
Machines
(0 files, 0 lines)
Examples
(0 files, 0 lines)
CombinedCyclePowerPlant
(0 files, 0 lines)
Control
(0 files, 0 lines)
SimpleExamples
(0 files, 0 lines)
FlueGases
(0 files, 0 lines)
Boilers
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
HeatExchangers
(0 files, 0 lines)
Junctions
(0 files, 0 lines)
LoopBreakers
(0 files, 0 lines)
Machines
(0 files, 0 lines)
PressureLosses
(0 files, 0 lines)
Sensors
(0 files, 0 lines)
TAC
(0 files, 0 lines)
Volumes
(0 files, 0 lines)
HeatNetworksCooling
(0 files, 0 lines)
InstrumentationAndControl
(0 files, 0 lines)
Blocks
(0 files, 0 lines)
Continu
(0 files, 0 lines)
Discret
(0 files, 0 lines)
Logique
(0 files, 0 lines)
Math
(0 files, 0 lines)
NonLineaire
(0 files, 0 lines)
Sources
(0 files, 0 lines)
Tables
(0 files, 0 lines)
MultiFluids
(0 files, 0 lines)
Boilers
(0 files, 0 lines)
HeatExchangers
(0 files, 0 lines)
Machines
(0 files, 0 lines)
Properties
(0 files, 0 lines)
C3H3F5
(0 files, 0 lines)
FlueGases
(0 files, 0 lines)
Fluid
(0 files, 0 lines)
WaterSolution
(0 files, 0 lines)
WaterSteam
(0 files, 0 lines)
Solar
(0 files, 0 lines)
Thermal
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
HeatTransfer
(0 files, 0 lines)
WaterSolution
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
HeatExchangers
(0 files, 0 lines)
LoopBreakers
(0 files, 0 lines)
Machines
(0 files, 0 lines)
PressureLosses
(0 files, 0 lines)
WaterSteam
(0 files, 0 lines)
Boilers
(0 files, 0 lines)
BoundaryConditions
(0 files, 0 lines)
HeatExchangers
(0 files, 0 lines)
Junctions
(0 files, 0 lines)
LoopBreakers
(0 files, 0 lines)
Machines
(0 files, 0 lines)
PressureLosses
(0 files, 0 lines)
Sensors
(0 files, 0 lines)
Volumes
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 14 (100.0%) | 503 (100.0%) | 35.9 |
sjoelund.se | 2 (14.3%) | 251 (49.9%) | 125.5 |
petar | 6 (42.9%) | 249 (49.5%) | 41.5 |
adrpo | 1 (7.1%) | 3 (0.6%) | 3.0 |
alash325 | 5 (35.7%) | 0 (0.0%) | 0.0 |
- Java and uncertainties directories are moved from testsuite to testsuite/openmodelica directory
- Updated Makefile for both
0 lines of code changed in 5 files:
- Fixed svn:eol-style
251 lines of code changed in 2 files:
- better help for the generated simulation code on -? or -help
- support -override x1=v1,x2=v2 -output a,b,c for the generated simulation
code which will override the values already in the Model_init.xml file
and output a, b, c on the command line at the end of the simulation.
- massive OpenTurns connection speedup using Model -override -output (no temp directory generated, etc)
- enable full example in testsuite/uncertainties/CantileverBeam_MC-template.py
as now it only takes 15 minutes instead of a lot of hours before.
- add testsuite/uncertainties/TestModels/ThermoSysPro/package.encoding to circumvent loading errors issues.
- delete all generated files in testsuite/uncertainties/CantileverBeam.mos
- small fixes to Compiler/BackEnd/OpenTURNS.mo (we should maybe give the distribution order in the OpenTurns OMC API).
3 lines of code changed in 1 file:
-Added generation of covariance matrix to openturns python script. Currently there is a limitation due to insufficient support of records inside vectors, so the covariance matrix must be defined using an algorithm section and the size must be declared as a constant, like this:
Correlation correlation[1];
algorithm
correlation := {Correlation(a,b,0.1)};
(Due to the limitation, this declaration and the algorithm section is stripped from the model before building the simulator)
This also means that the Correlation record is now a built in class in OpenModelica.
3 lines of code changed in 1 file:
-Added attribute to builtin classes real and integer for uncertainty distributions called distribution with record definition:
record Distribution
String name;
Real params[:];
String paramNames[:];
end Distribution;
-Improved BackendDAEOptimize.removeParameters. Now also visits attributes of builtin classes (needed for uncertainty tests)
-Introduced aliases in BackendDAEUtil so you don't have to write so much when declaring new variables from BackendDAE.
-Added function BackendDAEUtil.getAllVarLst that retrieves all variables (incl. parameters) from the dae.
-Added testsuite folder for uncertainties
-Added functions BackendVariable.{setVarAttributes,varDistribution,varHasDistributionAttribute}
-Added package Backend/OpenTURNS.mo and begun implementation of python script generation (distributions added)
-Added script function buildOpenTURNSInterface(className,templateFile)
246 lines of code changed in 5 files: