]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
10 years agoMultiple bugfixes for project model
villberg [Wed, 3 Sep 2014 12:24:45 +0000 (12:24 +0000)]
Multiple bugfixes for project model
refs #5224

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

10 years agorefs #5261
jsimomaa [Wed, 3 Sep 2014 06:54:00 +0000 (06:54 +0000)]
refs #5261

Optimizations in sysdyn Variables, LastValueIndexing and SysdynGameExperimentBase

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

10 years agorefs #5244
jsimomaa [Mon, 1 Sep 2014 06:13:49 +0000 (06:13 +0000)]
refs #5244

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

10 years agoFix OS-dependent fragment references
luukkainen [Fri, 29 Aug 2014 08:01:50 +0000 (08:01 +0000)]
Fix OS-dependent fragment references

refs #5244

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

10 years agorefs #5244
jsimomaa [Thu, 28 Aug 2014 20:56:05 +0000 (20:56 +0000)]
refs #5244

Compiled FMUSimulator.dll, miniunz.dll and zlibwapi.dll to 64bit and modified FMUControlJNI to choose correct libraries according to system property "os.arch"

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

10 years agorefs #5244
jsimomaa [Thu, 28 Aug 2014 20:29:45 +0000 (20:29 +0000)]
refs #5244

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

10 years agofixes #5234
jussi.koskela [Wed, 27 Aug 2014 10:49:36 +0000 (10:49 +0000)]
fixes #5234

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

10 years agoUpdate SolverSettings to use proper preference handling and add the default solver...
jkauttio [Wed, 27 Aug 2014 09:25:39 +0000 (09:25 +0000)]
Update SolverSettings to use proper preference handling and add the default solver setting to .ini file

refs #5227

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

10 years agorefs #5224
villberg [Tue, 26 Aug 2014 12:35:09 +0000 (12:35 +0000)]
refs #5224

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

10 years agorefs #5224
villberg [Tue, 26 Aug 2014 11:59:08 +0000 (11:59 +0000)]
refs #5224

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

10 years agoUse OpenModelica by default
jkauttio [Tue, 26 Aug 2014 11:19:04 +0000 (11:19 +0000)]
Use OpenModelica by default

fixes #5227

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

10 years agorefs #5224
villberg [Tue, 26 Aug 2014 07:19:58 +0000 (07:19 +0000)]
refs #5224

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

10 years agorefs #5224
villberg [Tue, 26 Aug 2014 05:49:22 +0000 (05:49 +0000)]
refs #5224

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

10 years agorefs #5223
villberg [Tue, 26 Aug 2014 05:33:19 +0000 (05:33 +0000)]
refs #5223

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

10 years agorefs #5224
villberg [Tue, 26 Aug 2014 04:53:28 +0000 (04:53 +0000)]
refs #5224

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

10 years agorefs #5224
villberg [Mon, 25 Aug 2014 16:23:03 +0000 (16:23 +0000)]
refs #5224

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

10 years agorefs #5223
villberg [Mon, 25 Aug 2014 16:20:10 +0000 (16:20 +0000)]
refs #5223

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

10 years agorefs #5185
jsimomaa [Mon, 25 Aug 2014 07:03:04 +0000 (07:03 +0000)]
refs #5185

Removing accidental debug print

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

10 years agorefs #5178
villberg [Mon, 25 Aug 2014 06:41:36 +0000 (06:41 +0000)]
refs #5178

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

10 years agorefs #5185
jsimomaa [Mon, 25 Aug 2014 06:12:27 +0000 (06:12 +0000)]
refs #5185

Undoing stock removal won't return the pipes that went to or left from the stock

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

10 years agorefs #5196
jsimomaa [Fri, 22 Aug 2014 09:17:46 +0000 (09:17 +0000)]
refs #5196

- Preventing the user to move the function to Built-in functions library
- Changing SimanticsUI.getSession() calls to Simantics.getSession()

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

10 years agorefs #5196
jsimomaa [Fri, 22 Aug 2014 09:17:01 +0000 (09:17 +0000)]
refs #5196

- Preventing the user to move the function to Built-in functions library
- Changing SimanticsUI.getSession() calls to Simantics.getSession()

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

10 years agorefs #5209
jsimomaa [Fri, 22 Aug 2014 08:13:43 +0000 (08:13 +0000)]
refs #5209

SaveICHandler saves new InitialConditions with duplicate name "IC"

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

10 years agorefs #5208
jsimomaa [Fri, 22 Aug 2014 08:12:34 +0000 (08:12 +0000)]
refs #5208

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

10 years agorefs #5207
jsimomaa [Fri, 22 Aug 2014 08:11:29 +0000 (08:11 +0000)]
refs #5207

Fixing IsOutputWidget and ReplaceableIndexes to use WidgetImpl.setInput instead of own custom input handling

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

10 years agorefs #5206
jsimomaa [Fri, 22 Aug 2014 08:07:49 +0000 (08:07 +0000)]
refs #5206

Adding more UndoPoints to AssignIC class

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

10 years agorefs #5184
jsimomaa [Fri, 22 Aug 2014 08:04:52 +0000 (08:04 +0000)]
refs #5184

- Modified EnumerationTab add  button to activate the newly created index for renaming
- Rename for EnumerationIndex can be executed via context menu "Rename" or F2

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

10 years agoAdded new Sysdyn logo (refs #5205).
miettinen [Fri, 22 Aug 2014 06:22:51 +0000 (06:22 +0000)]
Added new Sysdyn logo (refs #5205).

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

10 years agorefs #5204
jsimomaa [Fri, 22 Aug 2014 05:40:27 +0000 (05:40 +0000)]
refs #5204

Fixing SWTException widget is disposed

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

10 years agorefs #5198
villberg [Thu, 21 Aug 2014 08:23:47 +0000 (08:23 +0000)]
refs #5198

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

10 years agorefs #5198
villberg [Thu, 21 Aug 2014 08:23:13 +0000 (08:23 +0000)]
refs #5198

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

10 years agoMake a common model import interface for external model formats to lay groundwork...
jkauttio [Thu, 21 Aug 2014 07:46:31 +0000 (07:46 +0000)]
Make a common model import interface for external model formats to lay groundwork for BPMN import prototype

refs #5197

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

10 years agoAllow whitespace in Sysdyn modules and module types (refs #4882).
miettinen [Wed, 20 Aug 2014 12:15:36 +0000 (12:15 +0000)]
Allow whitespace in Sysdyn modules and module types (refs #4882).

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

10 years agoMake regular expressions handling variable ranges more general in vensim import
jkauttio [Fri, 15 Aug 2014 08:03:41 +0000 (08:03 +0000)]
Make regular expressions handling variable ranges more general in vensim import

refs #5176

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

10 years agoAdd checks for null terminals to new connection metadata creation
jkauttio [Fri, 15 Aug 2014 07:59:49 +0000 (07:59 +0000)]
Add checks for null terminals to new connection metadata creation

fixes #5119

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

10 years agoFix Sysdyn drop operations.
luukkainen [Thu, 14 Aug 2014 12:01:33 +0000 (12:01 +0000)]
Fix Sysdyn drop operations.

refs #5170

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

10 years agorefs #5122
villberg [Tue, 22 Jul 2014 12:12:46 +0000 (12:12 +0000)]
refs #5122

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

10 years agorefs #5115
jsimomaa [Thu, 17 Jul 2014 11:07:56 +0000 (11:07 +0000)]
refs #5115

version bump to 1.8.1

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

10 years agorefs #5113
villberg [Thu, 17 Jul 2014 06:24:40 +0000 (06:24 +0000)]
refs #5113

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

10 years agorefs #5110
villberg [Wed, 16 Jul 2014 09:34:59 +0000 (09:34 +0000)]
refs #5110

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

10 years agorefs #5093
jsimomaa [Wed, 16 Jul 2014 08:04:42 +0000 (08:04 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5093
jsimomaa [Wed, 16 Jul 2014 07:03:25 +0000 (07:03 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5106
jsimomaa [Wed, 16 Jul 2014 05:01:23 +0000 (05:01 +0000)]
refs #5106

Adding SelectionUtils class
Adding canEdit() method to determine if a selected resource is editable or not (based on immutability)

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

10 years agorefs #5093
jsimomaa [Tue, 15 Jul 2014 12:06:11 +0000 (12:06 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5093
jsimomaa [Tue, 15 Jul 2014 08:03:06 +0000 (08:03 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5092
jsimomaa [Tue, 15 Jul 2014 08:02:30 +0000 (08:02 +0000)]
refs #5092

Fixing undo problems in platform by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5093
jsimomaa [Tue, 15 Jul 2014 06:55:25 +0000 (06:55 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5096
jsimomaa [Mon, 14 Jul 2014 12:50:43 +0000 (12:50 +0000)]
refs #5096

Renaming ExpressionFieldUndoHandler to PropertyViewUndoHandler

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

10 years agorefs #5097
jsimomaa [Mon, 14 Jul 2014 09:10:06 +0000 (09:10 +0000)]
refs #5097

Disable property view editing for Built-in functions

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

10 years agorefs #5097
jsimomaa [Mon, 14 Jul 2014 06:34:05 +0000 (06:34 +0000)]
refs #5097

Disable property view editing for Built-in functions

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

10 years agorefs #5093
jsimomaa [Mon, 14 Jul 2014 06:01:25 +0000 (06:01 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5096
jsimomaa [Mon, 14 Jul 2014 05:56:52 +0000 (05:56 +0000)]
refs #5096

Add undo support in Sysdyns property view that allows the user to undo last typed text

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

10 years agorefs #5093
jsimomaa [Fri, 11 Jul 2014 11:18:05 +0000 (11:18 +0000)]
refs #5093

Fixing undo problems in Sysdyn by adding graph.markUndoPoint() calls in write transactions

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

10 years agorefs #5091
jsimomaa [Fri, 11 Jul 2014 10:50:20 +0000 (10:50 +0000)]
refs #5091

Change subclasses that extend LabelPropertyTabContributor to call superclasses constructor

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

10 years agorefs #5090
jsimomaa [Fri, 11 Jul 2014 10:37:04 +0000 (10:37 +0000)]
refs #5090

Add Default constructor, hashCode() and equals() methods to LabelPropertyTabContributor so that ComparableTabContributor comparison works correctly

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

10 years agofixes #5067
jussi.koskela [Mon, 7 Jul 2014 11:38:52 +0000 (11:38 +0000)]
fixes #5067

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

10 years agofixes #5056
jussi.koskela [Wed, 2 Jul 2014 13:48:49 +0000 (13:48 +0000)]
fixes #5056

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

10 years agorefs #5042
villberg [Mon, 30 Jun 2014 06:41:30 +0000 (06:41 +0000)]
refs #5042

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

10 years agoUpdated the loop symbols in Sysdyn sample models to their correct positions (refs...
miettinen [Wed, 25 Jun 2014 12:27:35 +0000 (12:27 +0000)]
Updated the loop symbols in Sysdyn sample models to their correct positions (refs #4950).

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

10 years agorefs #5019
villberg [Wed, 25 Jun 2014 08:42:20 +0000 (08:42 +0000)]
refs #5019

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

10 years agorefs #5017
jsimomaa [Wed, 25 Jun 2014 05:27:56 +0000 (05:27 +0000)]
refs #5017

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

10 years agoSysdyn input output element text to bold italic (refs #5007).
miettinen [Tue, 24 Jun 2014 11:50:11 +0000 (11:50 +0000)]
Sysdyn input output element text to bold italic (refs #5007).

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

10 years agorefs #5009
villberg [Tue, 24 Jun 2014 11:03:27 +0000 (11:03 +0000)]
refs #5009

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

10 years agoSysdyn Loop symbol to appear under mouse instead of somewhere southwest of it (refs...
miettinen [Tue, 24 Jun 2014 10:52:49 +0000 (10:52 +0000)]
Sysdyn Loop symbol to appear under mouse instead of somewhere southwest of it (refs #4950).

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

10 years agoFixing name validation issue with Sysdyn diagram elements (refs #5005).
miettinen [Tue, 24 Jun 2014 08:51:01 +0000 (08:51 +0000)]
Fixing name validation issue with Sysdyn diagram elements (refs #5005).

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

10 years agoInclude native launchers in sysdyn.product.
lehtonen [Tue, 24 Jun 2014 07:44:25 +0000 (07:44 +0000)]
Include native launchers in sysdyn.product.

refs #4986

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

10 years agoSysdyn unit validation: correct handling for relations and boolean operators (not...
miettinen [Tue, 24 Jun 2014 07:05:46 +0000 (07:05 +0000)]
Sysdyn unit validation: correct handling for relations and boolean operators (not, and, or) (refs #4987).
Added a sample model and a function library.

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

10 years agorefs #4994
villberg [Mon, 23 Jun 2014 12:02:34 +0000 (12:02 +0000)]
refs #4994

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

10 years agoFixing an NPE in Sysdyn loops (refs #4990).
miettinen [Mon, 23 Jun 2014 11:15:01 +0000 (11:15 +0000)]
Fixing an NPE in Sysdyn loops (refs #4990).

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

10 years agoE notation correction (accept numbers written in E notation with plus sign, like...
miettinen [Mon, 23 Jun 2014 07:12:01 +0000 (07:12 +0000)]
E notation correction (accept numbers written in E notation with plus sign, like 1E+005) for Sysdyn internal solver (refs #4935).

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

10 years agoError handling for circular dependencies in Sysdyn models: should not throw StackOver...
miettinen [Mon, 23 Jun 2014 07:00:04 +0000 (07:00 +0000)]
Error handling for circular dependencies in Sysdyn models: should not throw StackOverflowErrors anymore (refs #4891).

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

10 years agoFixing sysdyn product build site projects for 1.8.1.
lehtonen [Mon, 23 Jun 2014 05:31:05 +0000 (05:31 +0000)]
Fixing sysdyn product build site projects for 1.8.1.

refs #4984

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

10 years agoRemoved the very old and deprecated sysdyn_ontologies.
lehtonen [Thu, 19 Jun 2014 20:44:18 +0000 (20:44 +0000)]
Removed the very old and deprecated sysdyn_ontologies.
refs #4695

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

10 years agoUse createSCLModuleDefault instead of createSCLModule to comply with platform changes
jkauttio [Thu, 19 Jun 2014 10:32:04 +0000 (10:32 +0000)]
Use createSCLModuleDefault instead of createSCLModule to comply with platform changes

fixes #4980

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

10 years agorefs #4971
jussi.koskela [Wed, 18 Jun 2014 13:50:38 +0000 (13:50 +0000)]
refs #4971

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

10 years agorefs #4969
jussi.koskela [Wed, 18 Jun 2014 13:33:00 +0000 (13:33 +0000)]
refs #4969

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

10 years agofixes #4966
jussi.koskela [Wed, 18 Jun 2014 12:17:53 +0000 (12:17 +0000)]
fixes #4966

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

10 years agoMake value array handling for subscript variables less zealous in Vensim import
jkauttio [Wed, 18 Jun 2014 11:38:55 +0000 (11:38 +0000)]
Make value array handling for subscript variables less zealous in Vensim import

refs #2924

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

10 years agoRemove unused parameter from delay in internal solver
jkauttio [Wed, 18 Jun 2014 10:28:10 +0000 (10:28 +0000)]
Remove unused parameter from delay in internal solver

refs #4960

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

10 years agoFixed array indexing
villberg [Wed, 18 Jun 2014 09:19:11 +0000 (09:19 +0000)]
Fixed array indexing
refs #4960

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

10 years agorefs #4960
villberg [Wed, 18 Jun 2014 06:27:17 +0000 (06:27 +0000)]
refs #4960

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

10 years agoDelay implementation was broken
villberg [Tue, 17 Jun 2014 13:02:32 +0000 (13:02 +0000)]
Delay implementation was broken
refs #4765

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

10 years agoChange modelica code generation for stocks to correctly define initial values when...
jkauttio [Tue, 17 Jun 2014 11:34:16 +0000 (11:34 +0000)]
Change modelica code generation for stocks to correctly define initial values when enumerations are used.

fixes #4932

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

10 years agoFix a bug in vensim import which sometimes confused auxilaries with stocks
jkauttio [Tue, 17 Jun 2014 11:27:39 +0000 (11:27 +0000)]
Fix a bug in vensim import which sometimes confused auxilaries with stocks

refs #2924

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

10 years agoRemoved most references to Apros from Simantics codebase code and javadocs.
lehtonen [Tue, 17 Jun 2014 10:00:55 +0000 (10:00 +0000)]
Removed most references to Apros from Simantics codebase code and javadocs.

refs #4954

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

10 years agorefs #4953
jsimomaa [Tue, 17 Jun 2014 08:48:33 +0000 (08:48 +0000)]
refs #4953

Enabling File - Export / Import contributions for Sysdyn and adding new Model Export / Import wizards

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

10 years agoOptimization of constant equations. This makes it possible to assign vector parameters
villberg [Tue, 17 Jun 2014 07:40:56 +0000 (07:40 +0000)]
Optimization of constant equations. This makes it possible to assign vector parameters
refs #4765

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

10 years agoAdd fixes for foo^-bar expresisons and value arrays into vensim import
jkauttio [Mon, 16 Jun 2014 13:02:51 +0000 (13:02 +0000)]
Add fixes for foo^-bar expresisons and value arrays into vensim import

refs #2924

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

10 years agoSome performance optimization
villberg [Mon, 16 Jun 2014 12:51:48 +0000 (12:51 +0000)]
Some performance optimization
refs #4765

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

10 years agoSysdyn: [{a, b, c}] support for enums in ExpressionParser (refs #4948).
miettinen [Mon, 16 Jun 2014 12:09:20 +0000 (12:09 +0000)]
Sysdyn: [{a, b, c}] support for enums in ExpressionParser (refs #4948).

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

10 years agorefs #4938
jsimomaa [Wed, 11 Jun 2014 18:07:22 +0000 (18:07 +0000)]
refs #4938

Enhancing error handling in Sysdyn Model export. Now if an exception is thrown a visible notification is shown to user

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

10 years agoAbility to configure expected boolean value for missing statement.
luukkainen [Tue, 10 Jun 2014 12:02:13 +0000 (12:02 +0000)]
Ability to configure expected boolean value for missing statement.

fixes #4940

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

10 years agorefs #4938
jsimomaa [Tue, 10 Jun 2014 11:09:33 +0000 (11:09 +0000)]
refs #4938

Enhancing error handling in Sysdyn Model and Shared Library imports if dependencies are missing from database (e.g. user tries to import a Shared Library with references to Simupedia)

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

10 years agoFixed NPE when initial equations are not defined for enumerated stocks. This is just...
villberg [Sun, 8 Jun 2014 20:46:32 +0000 (20:46 +0000)]
Fixed NPE when initial equations are not defined for enumerated stocks. This is just a work-around. Modelica code generation should be fixed to include the proper initial equations. Stocks are now initialized to 0.
refs #4932

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

10 years agoFix variable name handling in vensim import.
jkauttio [Thu, 5 Jun 2014 13:43:22 +0000 (13:43 +0000)]
Fix variable name handling in vensim import.

refs #2924

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

10 years agorefs #4928
jussi.koskela [Thu, 5 Jun 2014 12:20:16 +0000 (12:20 +0000)]
refs #4928

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

10 years agorefs #4856
jussi.koskela [Wed, 4 Jun 2014 13:48:26 +0000 (13:48 +0000)]
refs #4856

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

10 years agorefs #4856
jussi.koskela [Wed, 4 Jun 2014 13:48:00 +0000 (13:48 +0000)]
refs #4856

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

10 years agoAdd options to simulation result saving dialog to allow filtering data based on sever...
jkauttio [Wed, 4 Jun 2014 13:40:04 +0000 (13:40 +0000)]
Add options to simulation result saving dialog to allow filtering data based on several criteria (the filtering process could be improved as the implementation is currently very simple and thus inefficient and inaccurate in some cases)

fixes #4919

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

10 years agoFixed warnings from sysdyn code.
lehtonen [Tue, 3 Jun 2014 10:37:47 +0000 (10:37 +0000)]
Fixed warnings from sysdyn code.
refs #4695

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