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

10 years agoFixed/ignored unnecessary warnings.
lehtonen [Fri, 3 Jan 2014 09:03:11 +0000 (09:03 +0000)]
Fixed/ignored unnecessary warnings.
refs #3552

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

11 years agoMinor adjustments to vensim import. Vensim import not in use.
lempinen [Tue, 31 Dec 2013 11:31:55 +0000 (11:31 +0000)]
Minor adjustments to vensim import. Vensim import not in use.
refs #2924

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

11 years agorefs #3511
lempinen [Tue, 31 Dec 2013 11:06:33 +0000 (11:06 +0000)]
refs #3511

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

11 years agoHidden element support for buttons and horizontal and vertical layouts. Update everyt...
lempinen [Fri, 27 Dec 2013 09:20:21 +0000 (09:20 +0000)]
Hidden element support for buttons and horizontal and vertical layouts. Update everything when input changes.
refs #3511

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

11 years agoDisable undo in sysdyn. It is too unreliable and the reason has not been found yet.
lempinen [Thu, 12 Dec 2013 11:57:52 +0000 (11:57 +0000)]
Disable undo in sysdyn. It is too unreliable and the reason has not been found yet.
refs #4593

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

11 years agoSymbol contributions did not follow when editing component types in shared ontologies
villberg [Thu, 28 Nov 2013 11:39:05 +0000 (11:39 +0000)]
Symbol contributions did not follow when editing component types in shared ontologies
refs #4574

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

11 years agoResourceEditorInput2 RVI is now from RVI.toString
villberg [Wed, 27 Nov 2013 05:17:32 +0000 (05:17 +0000)]
ResourceEditorInput2 RVI is now from RVI.toString
refs #4564

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

11 years agoGet rid of model URI in inputs
villberg [Tue, 26 Nov 2013 08:49:05 +0000 (08:49 +0000)]
Get rid of model URI in inputs
refs #4564

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

11 years agoEditable multi-line text elements
lempinen [Mon, 25 Nov 2013 13:17:28 +0000 (13:17 +0000)]
Editable multi-line text elements
refs #2929

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

11 years agoFixes several inconsistencies with creating flows in different input modes. The Sysdy...
jkauttio [Fri, 22 Nov 2013 16:04:04 +0000 (16:04 +0000)]
Fixes several inconsistencies with creating flows in different input modes. The SysdynConnectTool class could still use some cleanup.

fixes #4511

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

11 years agoAdded algorithm to find loops in graphs. Added a utility class to use that for Sysdyn...
miettinen [Fri, 22 Nov 2013 14:07:45 +0000 (14:07 +0000)]
Added algorithm to find loops in graphs. Added a utility class to use that for Sysdyn Resources. (refs #3012)

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

11 years agoHover to follow Loop image. Flip image with the clockwise option. (refs #3012)
miettinen [Fri, 22 Nov 2013 09:48:49 +0000 (09:48 +0000)]
Hover to follow Loop image. Flip image with the clockwise option. (refs #3012)
Simantics flips to not mirror text elements.

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

11 years agoMake sure no more than one SysdynConnectTool is associated with the canvas context...
jkauttio [Thu, 21 Nov 2013 14:49:02 +0000 (14:49 +0000)]
Make sure no more than one SysdynConnectTool is associated with the canvas context at a time. Still need to figure out if and how the behaviour of mouse clicks during connection and flow creation should be overridden.

refs #4511

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

11 years agoSysdyn loop text to diagram. Hover around loop image. (refs #3012)
miettinen [Thu, 21 Nov 2013 11:45:46 +0000 (11:45 +0000)]
Sysdyn loop text to diagram. Hover around loop image. (refs #3012)

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

11 years agoAdded loop to Sysdyn comment symbols. Loop has properties of direction of rotation...
miettinen [Wed, 20 Nov 2013 13:24:11 +0000 (13:24 +0000)]
Added loop to Sysdyn comment symbols. Loop has properties of direction of rotation and comment, of which both can be modified, but are not yet shown on diagram. (refs #3012)

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

11 years agoImplement a basic error reporting system for the new solver interface.
jkauttio [Tue, 19 Nov 2013 12:58:37 +0000 (12:58 +0000)]
Implement a basic error reporting system for the new solver interface.

fixes #4513

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

11 years agoModify the styles of multiple selected dependencies. (refs #4554)
miettinen [Tue, 19 Nov 2013 10:58:55 +0000 (10:58 +0000)]
Modify the styles of multiple selected dependencies. (refs #4554)

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

11 years agoEquationTab changes layout when the available area changes. (refs #4550)
miettinen [Fri, 15 Nov 2013 11:32:16 +0000 (11:32 +0000)]
EquationTab changes layout when the available area changes. (refs #4550)

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