[root]/testsuite/flattening/libraries/3rdParty/HumMod
HumMod
(2 files, 151343 lines)
animations
(34 files, 0 lines)
parameters
(11 files, 11019 lines)
setup
(7 files, 13809 lines)
Physiolibrary
(5 files, 13663 lines)
icons
(209 files, 1 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 80 (100.0%) | 239723 (100.0%) | 2996.5 |
alash325 | 28 (35.0%) | 127735 (53.3%) | 4561.9 |
sjoelund.se | 19 (23.8%) | 47072 (19.6%) | 2477.4 |
hudson | 3 (3.8%) | 44253 (18.5%) | 14751.0 |
adrpo | 10 (12.5%) | 11689 (4.9%) | 1168.9 |
perost | 6 (7.5%) | 8701 (3.6%) | 1450.1 |
vitalij | 11 (13.8%) | 256 (0.1%) | 23.2 |
adeas31 | 1 (1.3%) | 14 (0.0%) | 14.0 |
jfrenkel | 1 (1.3%) | 2 (0.0%) | 2.0 |
mahge930 | 1 (1.3%) | 1 (0.0%) | 1.0 |
- Expected output.
14 lines of code changed in 1 file:
+ Removed some unnecessary asub creations.
+ consider subscripts when looking for cref dependencies.
1 lines of code changed in 1 file:
ExpressionSimplify.simplify2:
- fixed simplifyMulJoinFactorsFind for case "e11-e12 and e12-e11, negative -1.0 factor"
15 lines of code changed in 1 file:
- fix bug #2899
- partial fix for bug #2484 (still needs some work on dae declaring complex components, i.e. connectors inside expandable connector)
1692 lines of code changed in 2 files:
Merged branches/FFrontEnd into trunk/
Main changes:
- changed the environment to support both non-destructive and destructive updates
- Env.Cache -> FCore.Cache, Env.Env -> FCore.Graph
- FCore.Graph is not a list of Frames anymore is a stucture where the previous list is saved in component "scope"
- all Frames in the new FCore.Graph are FCore.Ref pointing to FCore.Node having different FCore.Data depending on what they are
- all FCore.Nodes have children (FCore.CAvlTree) which maps names to FCore.Ref (which is Array<FCore.Node>, size 1)
- FGraph.openScope pushes an already existing FCore.Ref (or a new one) on the scope list
- for all components having modifications the last class in the type path is renamed to include the
prefix, see FGraph.createVersionScope (this is done because we need unique names for redeclared functions,
records, etc and we need a unique type scope for that)
Example: A.B.C c -> A.B.C$c c
Bug fixes:
- calling function via component (multibody MSL 3.2.1 patch not needed anymore, will remove it in a next commit)
- #2837 array equations wrongly handled in RemoveSimpleEquations (used in ThermoPower and PowerSystems libraries, etc)
#2784, #2727, #2739 (missing modifiers combined with redeclare and unique function generation for redeclared functions)
#2835 - handle overconstrained connectors extending basic types (used in PowerSystems library)
- do not loose modifications on derived classes handled by InstExtends
- some error messages about missing components in Fluid library are gone
- for components of size 0 do not check if they are assigned before use in functions (residue in equalityConstraint)
20 lines of code changed in 2 files:
Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.
8643 lines of code changed in 1 file:
added simplify rule
2 lines of code changed in 1 file:
added simplify rule
1 lines of code changed in 1 file:
added some simplify rules
19 lines of code changed in 1 file:
Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
413 lines of code changed in 2 files:
added rules:
- a*x*b + c*x = x*(a*b + c)
- a*x + b*x*c = x*(a + b*c)
1 lines of code changed in 1 file:
- added rule for a*x*c + d*x*e => x*(a*c + d*e)
4 lines of code changed in 1 file:
Fix some of the sorting of components based on dependencies in the bindings
- Would silently fail in some cases in the past
- Some models now give no warnings in compile-time and run-time
- AIMS_Start gives a different result for one variable
- UnevaluateableFixedAttribute.mos gives different results for RML and bootstrapped omc versions
552 lines of code changed in 1 file:
Various bugfixes and new features
- A new implementation for overloaded (binary) operators.
* Follows the specification more strictly and produces less fewer warnings for legal code
* matrix*matrix and matrix*vector uses reduction expressions to implement sum and array
* Checked that inlining of the generated functions works and produces simple expressions
* The code has been split into its own file since it is 2200 LOC and very few things in there actually depend on Static.mo (most of the remaining ones should be refactored)
- Implemented inlining of functions that assign to record members instead of call the record constructor in a single statement
- When evaluating function inputs to determine output array dimensions, keep the evaluated results
- Adding new preOptModule evaluateReplaceProtectedFinalEvaluateParameters which replaces evaluateReplaceFinalEvaluateParameters as a default module
* Causes problems for NPendulum.mos and PrismaticConstraint. They have different preOptModules set in the tests
- Added simulation flag `-abortSlowSimulation` used for the library tests in the testsuite
- EngineV6 now causes chattering behaviour. It was set to a Compilation test.
* The test will not spin thanks to the `-abortSlowSimulation` flag
- Improve elaboration, simplification, evaluation, and code generation for reductions
* Each operator now has unique indexes to avoid conflicts when replacing iterator crefs
* We can now simplify user-defined operators
* Added a new kind of mode for reductions: DAE.THREAD(), as opposed to the standard DAE.COMBINE()
- When we have multiple iterators, the default DAE.COMBINE() is used and iterates over all combinations of the expressions in the iterators. DAE.THREAD() instead assumes the arrays have equal length and folds over the reduction expression with the n-th expression in each iterator at a time. Used by operator overloading to implement element-wise and `sum` operations.
* This changes the DAE slightly
- Implemented DAE.FuncArg as a uniontype instead of tuple (DAE change)
- Some better simplification for ASUB (ranges and reductions)
- And some more things. Hopefully the major changes are all listed.
5036 lines of code changed in 2 files:
[Janitor mode] Fix whitespace
3980 lines of code changed in 1 file:
- update tests
2 lines of code changed in 1 file:
- added rules for signum
- added rule for e/exp(e1) => e * exp(-e1)
2 lines of code changed in 1 file:
- new simplify rule for a + (-b)/x = a - b/x
14 lines of code changed in 1 file:
- simplify rule x/r = x *(1/r) with test of numerical issues
can someone have a look of
./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos
195 lines of code changed in 1 file:
Fix for #2062:
- Better handling of cardinality.
0 lines of code changed in 1 file:
Fix for #2503:
- Propagate visibility prefix to components of structured components.
28 lines of code changed in 1 file:
- expand expression only if it can use for simplify
1 lines of code changed in 1 file:
- Remove useless case in simplify (makes code slower)
- Removed some flattening tests since whenever a tiny simplify change is performed all thermosyspro and multibody flattening examples needed to be updated. They are simulated, and that is what is important.
192 lines of code changed in 1 file:
- some support for ExternalMedia (some more work is needed for full support)
- add function calls and external function inputs to dependency analysis in element sorting
- use Inst.updateCompeltsMods just in Inst.instElementList2
41 lines of code changed in 1 file:
Fix for bug: #2346
- sort also the variable components for instantiation based on their bindings
- sort the DAE in the order it is defined in the Modelica file
17 lines of code changed in 1 file:
Added missing case in ExpressionSimplify (see #2268 idea of Martin)
2 lines of code changed in 1 file:
Load the correct path
2 lines of code changed in 1 file:
Move some expressions around when you do simplifications only if this improves the complexity of the expression
16 lines of code changed in 1 file:
- QUITE SOME CHANGES. Do make clean!
- fix old inst to work with Media and Fluid by default with no flags.
- got rid of some files and some of the error messages
- i will still keep +d=scodeInstShortcut for a while longer until I test more.
- Modelica.Fluid.Examples.IncompressibleFluidNetwork.mos segfaults on Linux, works in Windows,
Modelica.Fluid.Examples.HeatingSystem does not work anymore (NLS problems again) I guess due to parameters moving around.
I will investigate more these issues in the next days.
41 lines of code changed in 1 file:
Some spelling/grammar (real numbers is more precise and easy to understand)
108 lines of code changed in 2 files:
Revert r15962 (accidently replaced 8 spaces with 2 spaces; was supposed to be 1 tab to 2 spaces but text editors messed up the command)
Contact me if you have problems merging your working copy
40256 lines of code changed in 1 file:
[Janitor mode] Fix tabs
40256 lines of code changed in 1 file:
[Janitor mode] Set auto-props
17 lines of code changed in 1 file:
Preserve function comments and annotations for external functions
2 lines of code changed in 1 file:
- Updated test cases.
25 lines of code changed in 1 file:
- Preserve the comment for the flattened class in the flattened output.
- Don't translate enumeration literals to integers when simplifying asubs.
2 lines of code changed in 1 file:
- Removed checks for duplicate elements and type names that are the same as the
component name from SCodeUtil.
3 lines of code changed in 1 file:
Fix HumMod library
1 lines of code changed in 1 file:
Fix tests
82 lines of code changed in 2 files:
Always use full pathnames for file info of parsed files
248 lines of code changed in 2 files:
(9 more)