]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
10 years agorefs #4858
villberg [Wed, 14 May 2014 11:02:51 +0000 (11:02 +0000)]
refs #4858

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29491 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4858
villberg [Wed, 14 May 2014 04:31:19 +0000 (04:31 +0000)]
refs #4858

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29490 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoRenamed WriteGraph.startUndoContext to WriteGraph.markUndoPoint.
lehtonen [Mon, 12 May 2014 07:11:24 +0000 (07:11 +0000)]
Renamed WriteGraph.startUndoContext to WriteGraph.markUndoPoint.

refs #4849

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29445 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoNew icons (.png files) for Sysdyn (refs #4868).
miettinen [Fri, 9 May 2014 06:19:31 +0000 (06:19 +0000)]
New icons (.png files) for Sysdyn (refs #4868).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29436 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSTWAWTComponent based ChartComposite
luukkainen [Thu, 8 May 2014 12:50:12 +0000 (12:50 +0000)]
STWAWTComponent based ChartComposite

refs #4865

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29429 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded missing python stuff to OpenModelica (refs #4794).
miettinen [Wed, 7 May 2014 12:47:06 +0000 (12:47 +0000)]
Added missing python stuff to OpenModelica (refs #4794).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29421 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded missing libraries to OpenModelica (refs #4794).
miettinen [Wed, 7 May 2014 12:42:30 +0000 (12:42 +0000)]
Added missing libraries to OpenModelica (refs #4794).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29420 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUpdated to the latest official release of OpenModelica (i.e. 1.9.0) (refs #4794).
miettinen [Mon, 5 May 2014 11:27:38 +0000 (11:27 +0000)]
Updated to the latest official release of OpenModelica (i.e. 1.9.0) (refs #4794).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29407 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSet value for scalar variable did not work
villberg [Mon, 5 May 2014 07:48:59 +0000 (07:48 +0000)]
Set value for scalar variable did not work
refs #4854

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29405 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4853
villberg [Mon, 5 May 2014 07:46:24 +0000 (07:46 +0000)]
refs #4853

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29404 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4833
villberg [Mon, 5 May 2014 07:45:04 +0000 (07:45 +0000)]
refs #4833

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29403 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdd a check to make sure a shadow variable is not deleted twice
jkauttio [Wed, 30 Apr 2014 12:11:50 +0000 (12:11 +0000)]
Add a check to make sure a shadow variable is not deleted twice

fixes #4850

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29402 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoChange dataset manipulation for simulation results to also include enumeration indice...
jkauttio [Wed, 30 Apr 2014 12:09:50 +0000 (12:09 +0000)]
Change dataset manipulation for simulation results to also include enumeration indices in variable names (that were previously removed for some reason)

fixes #4851

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29401 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoRemove a duplicate class name from ModelicaWriter
jkauttio [Wed, 30 Apr 2014 12:08:28 +0000 (12:08 +0000)]
Remove a duplicate class name from ModelicaWriter

fixes #4852

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29400 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSome implementation based on new paradigm
villberg [Wed, 30 Apr 2014 11:38:40 +0000 (11:38 +0000)]
Some implementation based on new paradigm
refs #4849

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29399 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4848
villberg [Wed, 30 Apr 2014 11:36:59 +0000 (11:36 +0000)]
refs #4848

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29396 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixed some bugs encountered in Strada-model
villberg [Mon, 28 Apr 2014 08:20:21 +0000 (08:20 +0000)]
Fixed some bugs encountered in Strada-model
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29370 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixed some bugs encountered in Strada-model
villberg [Mon, 28 Apr 2014 08:19:53 +0000 (08:19 +0000)]
Fixed some bugs encountered in Strada-model
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29369 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoMerge changes from dev-jkauttio
jkauttio [Fri, 25 Apr 2014 14:29:05 +0000 (14:29 +0000)]
Merge changes from dev-jkauttio

refs #2924

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29357 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoExport shared ontology
villberg [Thu, 24 Apr 2014 10:17:02 +0000 (10:17 +0000)]
Export shared ontology
refs #4833

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29335 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdding support for power
villberg [Wed, 23 Apr 2014 19:28:04 +0000 (19:28 +0000)]
Adding support for power
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29333 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4833
villberg [Wed, 23 Apr 2014 09:21:14 +0000 (09:21 +0000)]
refs #4833

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29327 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoBoth horizontal and vertical center alignment to Sysdyn loop symbol text (refs #4803).
miettinen [Wed, 16 Apr 2014 11:20:43 +0000 (11:20 +0000)]
Both horizontal and vertical center alignment to Sysdyn loop symbol text (refs #4803).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29297 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSmall Sysdyn stuff:
miettinen [Wed, 16 Apr 2014 10:12:00 +0000 (10:12 +0000)]
Small Sysdyn stuff:
* Check if the loop exists any more in loop type determination (refs #4793).
* Added check for widget disposal to adjustable tab (refs #4793).
* Added the Playback simulation coloring profile as a default (refs #4803).
* Deleted an excess flow from an example model (refs #4793).
* Added default arrow color to Right-click -> Font... (refs #4803). This is hard coded though so changing default doesn't affect these arrows, but they must be changed manually again :(
* Updated tooltip text to Variable filter (refs #4803).
* Bugfix to SensitivityChartAxisAndVariablesTab.java (refs #4803).
* Set getOutline() in ResizeNode to protected for a future need.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29296 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAllow array definitions of type {a,b,...,n} inside Sysdyn variable name combo (refs...
miettinen [Thu, 10 Apr 2014 09:29:25 +0000 (09:29 +0000)]
Allow array definitions of type {a,b,...,n} inside Sysdyn variable name combo (refs #4807).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29275 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixes after changes
villberg [Thu, 10 Apr 2014 08:48:20 +0000 (08:48 +0000)]
Fixes after changes
refs #4810

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29274 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoDisplay SCL modules for model
villberg [Wed, 9 Apr 2014 07:05:14 +0000 (07:05 +0000)]
Display SCL modules for model
refs #4803

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29260 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSmall Sysdyn improvements (refs #4803):
miettinen [Mon, 7 Apr 2014 12:19:54 +0000 (12:19 +0000)]
Small Sysdyn improvements (refs #4803):
Commented out the currently useless Synthesim button.
Using most profiles as default.
Multiple dependency selection tab to inherit adjustable tab.
Moved sensitivity chart up in the context menu and added chart tab to sensitivity chart property view.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29253 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agorefs #4800
villberg [Fri, 4 Apr 2014 07:33:39 +0000 (07:33 +0000)]
refs #4800

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29247 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 11:54:34 +0000 (11:54 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29225 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 11:45:54 +0000 (11:45 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29224 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 11:45:24 +0000 (11:45 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29223 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 11:20:49 +0000 (11:20 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29222 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 11:16:46 +0000 (11:16 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29221 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 07:49:26 +0000 (07:49 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29219 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoTrendView could deadlock with other views
villberg [Mon, 31 Mar 2014 06:44:37 +0000 (06:44 +0000)]
TrendView could deadlock with other views
refs #4793

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29217 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSorted generated modelica text for easier processing. Fixed shadow variable code...
villberg [Mon, 31 Mar 2014 06:41:05 +0000 (06:41 +0000)]
Sorted generated modelica text for easier processing. Fixed shadow variable code generation.
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29216 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGetting closer
villberg [Mon, 31 Mar 2014 06:39:39 +0000 (06:39 +0000)]
Getting closer
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29215 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoEscaped the search query (refs #4786).
miettinen [Thu, 27 Mar 2014 08:30:25 +0000 (08:30 +0000)]
Escaped the search query (refs #4786).
Changed the version in the about text to 1.8 (refs #4695).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29205 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoStacked Sysdyn search browser under model browser (refs #4786).
miettinen [Wed, 26 Mar 2014 13:00:43 +0000 (13:00 +0000)]
Stacked Sysdyn search browser under model browser (refs #4786).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29203 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixed Sysdyn search (refs #4786).
miettinen [Wed, 26 Mar 2014 12:45:03 +0000 (12:45 +0000)]
Fixed Sysdyn search (refs #4786).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29202 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded toggle button for Sysdyn Synthesis Simulation (=Synthesim in Vensim) (refs...
miettinen [Tue, 25 Mar 2014 14:04:03 +0000 (14:04 +0000)]
Added toggle button for Sysdyn Synthesis Simulation (=Synthesim in Vensim) (refs #4653).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29201 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSeparate color for Sysdyn dependency arrows which go to stocks where their tail varia...
miettinen [Tue, 25 Mar 2014 11:20:25 +0000 (11:20 +0000)]
Separate color for Sysdyn dependency arrows which go to stocks where their tail variable is used only for initial equation (refs #4637).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29200 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoTwo more Sysdyn Molecules (refs #4343).
miettinen [Tue, 25 Mar 2014 06:53:37 +0000 (06:53 +0000)]
Two more Sysdyn Molecules (refs #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29195 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoA new Sysdyn molecule and replacing the function library in old models (refs #4343).
miettinen [Mon, 24 Mar 2014 13:02:36 +0000 (13:02 +0000)]
A new Sysdyn molecule and replacing the function library in old models (refs #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29194 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSysdyn Molecules: added Univariate Anchoring, encapsulated all functions needed by...
miettinen [Mon, 24 Mar 2014 12:14:12 +0000 (12:14 +0000)]
Sysdyn Molecules: added Univariate Anchoring, encapsulated all functions needed by molecules into one function library (refs #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29192 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSysdyn Molecules: Trend and Extrapolation + enable unit validation in all existing...
miettinen [Mon, 24 Mar 2014 08:07:26 +0000 (08:07 +0000)]
Sysdyn Molecules: Trend and Extrapolation + enable unit validation in all existing models (refs #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29189 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSmall fixes (refs #4781).
miettinen [Fri, 21 Mar 2014 11:57:01 +0000 (11:57 +0000)]
Small fixes (refs #4781).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29186 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoBugfix to Sysdyn unit parsing for functions (refs #4779).
miettinen [Fri, 21 Mar 2014 10:41:58 +0000 (10:41 +0000)]
Bugfix to Sysdyn unit parsing for functions (refs #4779).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29184 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded information delay to Sysdyn (SMOOTH in Vensim) (refs #4773). Since the equation...
miettinen [Fri, 21 Mar 2014 08:45:45 +0000 (08:45 +0000)]
Added information delay to Sysdyn (SMOOTH in Vensim) (refs #4773). Since the equations of material and information delays are equal (i.e. DELAY(in, dtime, n) = SMOOTH(in, dtime, n) for all in, dtime, n), there's actually no excess functionality, just a combo selection for the modeler in the DelayExpression.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29183 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixed ^ and ^. handling in Sysdyn ModelParser (refs #4778).
miettinen [Thu, 20 Mar 2014 12:11:41 +0000 (12:11 +0000)]
Fixed ^ and ^. handling in Sysdyn ModelParser (refs #4778).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29182 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSysdyn Datasets have for some reason been made to ignore case. In Modelica case matte...
miettinen [Thu, 20 Mar 2014 12:10:02 +0000 (12:10 +0000)]
Sysdyn Datasets have for some reason been made to ignore case. In Modelica case matters so changed that back (refs #4777).
Made dependency arrows more curved by default.
Added WeighedAverage molecule (refs #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29181 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoNew -> Model to Sysdyn model browser (refs #4772).
miettinen [Wed, 19 Mar 2014 06:56:21 +0000 (06:56 +0000)]
New -> Model to Sysdyn model browser (refs #4772).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29166 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded GAME(x) Vensim function stub to Sysdyn (refs #4771).
miettinen [Tue, 18 Mar 2014 13:49:31 +0000 (13:49 +0000)]
Added GAME(x) Vensim function stub to Sysdyn (refs #4771).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29163 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUpdated latest exported filename extensions in Sysdyn sample models to .sysdyn (refs...
miettinen [Tue, 18 Mar 2014 13:24:30 +0000 (13:24 +0000)]
Updated latest exported filename extensions in Sysdyn sample models to .sysdyn (refs #4737).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29162 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded larger Sysdyn test models to svn (refs #4770). Model1412Health and openprod_dem...
miettinen [Tue, 18 Mar 2014 10:27:54 +0000 (10:27 +0000)]
Added larger Sysdyn test models to svn (refs #4770). Model1412Health and openprod_demo seem to be broken.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29161 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoInitial support. Added simulation tests for models in rootFiles
villberg [Mon, 17 Mar 2014 14:13:49 +0000 (14:13 +0000)]
Initial support. Added simulation tests for models in rootFiles
refs #4766

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29146 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoInitial support. Added simulation tests for models in rootFiles
villberg [Mon, 17 Mar 2014 14:02:27 +0000 (14:02 +0000)]
Initial support. Added simulation tests for models in rootFiles
refs #4766

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29141 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoInitial implementation. Manages to simulate all test models in rootFiles.
villberg [Mon, 17 Mar 2014 14:00:56 +0000 (14:00 +0000)]
Initial implementation. Manages to simulate all test models in rootFiles.
refs #4765

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29140 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded some Sysdyn Molecules (refs #4343).
miettinen [Thu, 13 Mar 2014 11:39:32 +0000 (11:39 +0000)]
Added some Sysdyn Molecules (refs #4343).
Fixed the last export filename extension in Sysdyn models.
Export Sysdyn model button to become export as... if the path doesn't exist.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29117 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded Activate Experiment under Sysdyn experiment context menu (refs #4748).
miettinen [Thu, 13 Mar 2014 10:46:49 +0000 (10:46 +0000)]
Added Activate Experiment under Sysdyn experiment context menu (refs #4748).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29116 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded four Sysdyn molecules (refs #4343).
miettinen [Mon, 3 Mar 2014 11:30:03 +0000 (11:30 +0000)]
Added four Sysdyn molecules (refs #4343).
Changed Sysdyn sample model file extensions (refs #4737).
Changed Sysdyn version to 1.8.
Allow double click to expand Sysdyn model in model browser (refs #4742).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29021 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSeparate file name extensions for different Sysdyn export files: Models: *.sysdyn...
miettinen [Fri, 28 Feb 2014 12:13:42 +0000 (12:13 +0000)]
Separate file name extensions for different Sysdyn export files: Models: *.sysdyn, Modules: *.sysdynModule, Function Libraries: *.sysdynFunctions (refs #4737).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29008 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoMulti-part variable support for Sysdyn text feed assistant (refs #4701), fixes also...
miettinen [Thu, 27 Feb 2014 13:40:54 +0000 (13:40 +0000)]
Multi-part variable support for Sysdyn text feed assistant (refs #4701), fixes also (refs #4698).
Fixed Tourists sample model (refs #4733).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29001 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoBugfixes to Sysdyn stock equation: automatic default equation and switching between...
miettinen [Thu, 27 Feb 2014 06:40:41 +0000 (06:40 +0000)]
Bugfixes to Sysdyn stock equation: automatic default equation and switching between default and custom states (refs #4712).
Added references to sample models and molecules (refs #4702 #4343).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28992 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded currently available solvers of OpenModelica as options for Sysdyn (refs #4729).
miettinen [Tue, 25 Feb 2014 11:36:55 +0000 (11:36 +0000)]
Added currently available solvers of OpenModelica as options for Sysdyn (refs #4729).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28939 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded sample Sysdyn models (refs #4702).
miettinen [Tue, 25 Feb 2014 11:18:33 +0000 (11:18 +0000)]
Added sample Sysdyn models (refs #4702).
Fix for launching Sysdyn experiments (refs #4728).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28937 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoChanged IExperiment API:
lehtonen [Fri, 21 Feb 2014 11:23:19 +0000 (11:23 +0000)]
Changed IExperiment API:
* Removed <code>void shutdown()</code>
* Added <code>void shutdown(IProgressMonitor monitor)</code>

Changed IExperimentActivationListener interface:
* Added <code>IProgressMonitor getProgressMonitor()</code> to provide a progress monitor to experiment loading procedures also.

Both allow null monitor to be passed so fixing client code is a snap.

refs #4725

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28915 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoPrint Sysdyn model name to satus line when modle is exported. (refs #4742)
miettinen [Fri, 21 Feb 2014 11:16:20 +0000 (11:16 +0000)]
Print Sysdyn model name to satus line when modle is exported. (refs #4742)

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28914 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoThe domain axis of JFreeChart trends to start from where the data actually starts...
miettinen [Thu, 20 Feb 2014 12:52:49 +0000 (12:52 +0000)]
The domain axis of JFreeChart trends to start from where the data actually starts instead of forced 0 (refs #4490).
Applied also in Sysdyn sensitivity charts.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28905 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSysdyn Ghost variable to not generate "No unit defined" issue (refs #4707).
miettinen [Thu, 20 Feb 2014 10:49:24 +0000 (10:49 +0000)]
Sysdyn Ghost variable to not generate "No unit defined" issue (refs #4707).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28903 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoSysdyn Ghost variable to not generate "No unit defined" issue (refs #4707).
miettinen [Thu, 20 Feb 2014 10:48:05 +0000 (10:48 +0000)]
Sysdyn Ghost variable to not generate "No unit defined" issue (refs #4707).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28902 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAllow plus and minus signs in E notation exponent in Sysdyn parsers (refs #4703).
miettinen [Wed, 19 Feb 2014 06:20:53 +0000 (06:20 +0000)]
Allow plus and minus signs in E notation exponent in Sysdyn parsers (refs #4703).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28888 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded alternative vertical layout for all relevant Sysdyn selection tabs (incl. some...
miettinen [Tue, 18 Feb 2014 12:56:13 +0000 (12:56 +0000)]
Added alternative vertical layout for all relevant Sysdyn selection tabs (incl. some JFreeChart tabs) (refs #4708).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28886 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoImproved the layout of Sysdyn and JFreeChart tabs (refs #4708).
miettinen [Mon, 17 Feb 2014 12:05:45 +0000 (12:05 +0000)]
Improved the layout of Sysdyn and JFreeChart tabs (refs #4708).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28868 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoFixed variable proposal bug (executed setInput within read transaction)
luukkainen [Mon, 17 Feb 2014 11:08:19 +0000 (11:08 +0000)]
Fixed variable proposal bug (executed setInput within read transaction)

fixes #4718

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28866 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoHandle negative values properly when filtering values
luukkainen [Fri, 14 Feb 2014 13:43:48 +0000 (13:43 +0000)]
Handle negative values properly when filtering values

refs #4716

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28851 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAllow variables starting and ending with ' characters in Sysdyn ExpressionParser...
miettinen [Fri, 14 Feb 2014 13:01:30 +0000 (13:01 +0000)]
Allow variables starting and ending with ' characters in Sysdyn ExpressionParser (refs #2924).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28846 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoChanged PieDataset to support Comparable keys.
luukkainen [Fri, 14 Feb 2014 11:52:45 +0000 (11:52 +0000)]
Changed PieDataset to support Comparable keys.
Fixed ChartVariable compareTo()

refs #4741

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28842 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoPie Charts show numeric values in legends
luukkainen [Thu, 13 Feb 2014 12:58:16 +0000 (12:58 +0000)]
Pie Charts show numeric values in legends
Sulca specific chart types

refs #8417

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28834 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAdded some Sysdyn sample models (refs #4702).
miettinen [Mon, 10 Feb 2014 10:49:43 +0000 (10:49 +0000)]
Added some Sysdyn sample models (refs #4702).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28803 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit parser of Sysdyn to match equivalents in reducing units (refs #4704).
miettinen [Fri, 7 Feb 2014 08:03:36 +0000 (08:03 +0000)]
Unit parser of Sysdyn to match equivalents in reducing units (refs #4704).
Centered the text in auxiliary, input, stock and module.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28789 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAccidentally committed a change to Sysdyn product configuration.
luukkainen [Wed, 5 Feb 2014 11:03:23 +0000 (11:03 +0000)]
Accidentally committed a change to Sysdyn product configuration.

refs #4699

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28778 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoChanged AlphaComposite SRC_ATOP to SRC_OVER. This is much faster to render.
luukkainen [Wed, 5 Feb 2014 11:00:52 +0000 (11:00 +0000)]
Changed AlphaComposite SRC_ATOP to SRC_OVER. This is much faster to render.

refs #4699

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28777 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoWrong query id caused query cache to store model variables separately for each variable
luukkainen [Tue, 4 Feb 2014 14:47:14 +0000 (14:47 +0000)]
Wrong query id caused query cache to store model variables separately for each variable
Dispose methods for clearing local caches.

fixes #4694

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28771 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit validation for Sysdyn functions: unit "1" in inputs to not correspond to any...
miettinen [Tue, 4 Feb 2014 13:16:32 +0000 (13:16 +0000)]
Unit validation for Sysdyn functions: unit "1" in inputs to not correspond to any anymore (refs #4320).
Bug fixes to unit validator (refs #4692).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28770 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoJFreeChart rendering fix (Java7 bug).
luukkainen [Tue, 4 Feb 2014 12:16:31 +0000 (12:16 +0000)]
JFreeChart rendering fix (Java7 bug).

fixes #4693

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28768 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit validation for Sysdyn functions: refactoring (refs #4320).
miettinen [Fri, 31 Jan 2014 13:45:45 +0000 (13:45 +0000)]
Unit validation for Sysdyn functions: refactoring (refs #4320).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28747 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGenerated java files for unit parser (refs #4320).
miettinen [Fri, 31 Jan 2014 12:26:33 +0000 (12:26 +0000)]
Generated java files for unit parser (refs #4320).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28744 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit validation for Sysdyn functions: matching argument units to the input (template...
miettinen [Fri, 31 Jan 2014 12:25:35 +0000 (12:25 +0000)]
Unit validation for Sysdyn functions: matching argument units to the input (template) units (refs #4320). Lacks the correct behavior of scalar vs unit="1".

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28743 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit validation for Sysdyn functions: determination of function output unit based...
miettinen [Wed, 29 Jan 2014 10:04:48 +0000 (10:04 +0000)]
Unit validation for Sysdyn functions: determination of function output unit based on input units (refs #4320).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28722 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUnit validation for functions in Sysdyn: unit definitions for built-in functions...
miettinen [Mon, 27 Jan 2014 10:07:38 +0000 (10:07 +0000)]
Unit validation for functions in Sysdyn: unit definitions for built-in functions and propagation of available functions (also user-defined) information within the unit parser (refs #4320).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28714 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoWhen selecting a Sysdyn loop, color the elements which belong to that loop (refs...
miettinen [Thu, 23 Jan 2014 12:14:13 +0000 (12:14 +0000)]
When selecting a Sysdyn loop, color the elements which belong to that loop (refs #3012).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28688 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoAutomatic balancing / reinforcing comment (B/R) for Sysdyn loops (refs #3012).
miettinen [Tue, 21 Jan 2014 11:43:46 +0000 (11:43 +0000)]
Automatic balancing / reinforcing comment (B/R) for Sysdyn loops (refs #3012).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28681 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoLoops tab in Sysdyn: Combo for selecting the loop items (refs #3012).
miettinen [Tue, 21 Jan 2014 06:35:57 +0000 (06:35 +0000)]
Loops tab in Sysdyn: Combo for selecting the loop items (refs #3012).
LoopTab to extend AdjustableTab

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28678 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoLoops under structure view in Sysdyn: consider flows bidirectional dependencies,...
miettinen [Mon, 20 Jan 2014 08:33:48 +0000 (08:33 +0000)]
Loops under structure view in Sysdyn: consider flows bidirectional dependencies, and refactoring (refs #3012).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28672 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoLoops under structure view in Sysdyn, initial implementation (refs #3012).
miettinen [Mon, 20 Jan 2014 05:35:12 +0000 (05:35 +0000)]
Loops under structure view in Sysdyn, initial implementation (refs #3012).
Moved ConfigurationUtils from sysdyn.ui to sysdyn package.

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28669 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoLoops under structure view in Sysdyn, initial implementation (refs #3012).
miettinen [Fri, 17 Jan 2014 12:23:17 +0000 (12:23 +0000)]
Loops under structure view in Sysdyn, initial implementation (refs #3012).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28660 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoUpdated layout of Sysdyn configuration tab (refs #4628).
miettinen [Fri, 17 Jan 2014 08:07:37 +0000 (08:07 +0000)]
Updated layout of Sysdyn configuration tab (refs #4628).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28656 ac1ea38d-2e2b-0410-8846-a27921b304fc

10 years agoGenerated java files for unit parser (refs #4628).
miettinen [Fri, 17 Jan 2014 06:29:16 +0000 (06:29 +0000)]
Generated java files for unit parser (refs #4628).

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@28651 ac1ea38d-2e2b-0410-8846-a27921b304fc