]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
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

10 years agoUnit equivalents to Sysdyn unit parser (refs #4628).
miettinen [Fri, 17 Jan 2014 06:28:17 +0000 (06:28 +0000)]
Unit equivalents to Sysdyn unit parser (refs #4628).
Allow %, $, £, and euro symbols, as well as greek letters in unit parser (refs #4425).

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

10 years agoFix to Sysdyn unit validator: stock variables with whitespace in their names (refs...
miettinen [Thu, 16 Jan 2014 07:50:11 +0000 (07:50 +0000)]
Fix to Sysdyn unit validator: stock variables with whitespace in their names (refs #4548).
Import Model to file menu (refs #4665).

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

10 years agoSolving problems in custom integral equation in stocks (refs #4657).
miettinen [Thu, 16 Jan 2014 05:49:26 +0000 (05:49 +0000)]
Solving problems in custom integral equation in stocks (refs #4657).

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

10 years agoAdjustableTab to Sysdyn to allow reorganizing the configuration tab (refs #4655).
miettinen [Wed, 15 Jan 2014 13:47:28 +0000 (13:47 +0000)]
AdjustableTab to Sysdyn to allow reorganizing the configuration tab (refs #4655).

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

10 years agoSolving problems in custom integral equation in stocks (refs #4657).
miettinen [Tue, 14 Jan 2014 10:42:30 +0000 (10:42 +0000)]
Solving problems in custom integral equation in stocks (refs #4657).

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

10 years agoFixes to jfreechart plugin after Hannu's changes to org.simantics.diagram.synchroniza...
lehtonen [Mon, 13 Jan 2014 09:23:47 +0000 (09:23 +0000)]
Fixes to jfreechart plugin after Hannu's changes to org.simantics.diagram.synchronization.graph.RemoveElement.

refs #4624

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

10 years agoGenerated java files for unit parser (refs #4547).
miettinen [Mon, 13 Jan 2014 08:15:45 +0000 (08:15 +0000)]
Generated java files for unit parser (refs #4547).

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

10 years agoSysdyn unit parser to understand ^ (refs #4547) and bugfix to division (refs #4549).
miettinen [Mon, 13 Jan 2014 08:14:16 +0000 (08:14 +0000)]
Sysdyn unit parser to understand ^ (refs #4547) and bugfix to division (refs #4549).

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

10 years agoJust testing that my svn upgrade working copy didn't break my configuration (refs...
miettinen [Mon, 13 Jan 2014 08:05:39 +0000 (08:05 +0000)]
Just testing that my svn upgrade working copy didn't break my configuration (refs #4547).

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

10 years agoAllow arrows into stocks. Also enabled the ShortcutTabWidget and expression parser...
miettinen [Thu, 9 Jan 2014 08:31:34 +0000 (08:31 +0000)]
Allow arrows into stocks. Also enabled the ShortcutTabWidget and expression parser in the integral field (refs #6423).
Changed the size of the dependency arrow head (refs #4622).
Bugfix to npe in focus of stock and delay tabs.

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

10 years agoStock equation to not depend on the flows on the diagram (refs #4623).
miettinen [Thu, 9 Jan 2014 06:39:08 +0000 (06:39 +0000)]
Stock equation to not depend on the flows on the diagram (refs #4623).

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

10 years agoChangeable thicknesses of dependency arrows and flows (refs #4622).
miettinen [Wed, 8 Jan 2014 07:41:59 +0000 (07:41 +0000)]
Changeable thicknesses of dependency arrows and flows (refs #4622).

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

10 years agoCheckbox to dependencies to show or hide the arrow head (refs #4619).
miettinen [Tue, 7 Jan 2014 06:26:14 +0000 (06:26 +0000)]
Checkbox to dependencies to show or hide the arrow head (refs #4619).

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

10 years agoDelay marks to dependency arrows (refs #4615).
miettinen [Tue, 7 Jan 2014 05:33:02 +0000 (05:33 +0000)]
Delay marks to dependency arrows (refs #4615).

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