]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
8 years agorefs #6860 Sysdyn update site on top of Simantics Desktop trunk
villberg [Thu, 8 Dec 2016 13:03:33 +0000 (13:03 +0000)]
refs #6860 Sysdyn update site on top of Simantics Desktop

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

8 years agoUpdated graph.tg files after graph compiler update.
lehtonen [Wed, 21 Sep 2016 05:38:30 +0000 (05:38 +0000)]
Updated graph.tg files after graph compiler update.

refs #6692

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

8 years agorefs #6686
jsimomaa [Wed, 14 Sep 2016 11:34:06 +0000 (11:34 +0000)]
refs #6686

SysdynFileImport class which implements SimanticsResourceFileImport

* Minor fixes to feature.xml definitions

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

8 years agorefs #6686
jsimomaa [Wed, 14 Sep 2016 11:31:12 +0000 (11:31 +0000)]
refs #6686

SysdynFileImport class which implements SimanticsResourceFileImport

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

8 years agoAdded missing org.simantics.objmap to trunk project set.
lehtonen [Mon, 12 Sep 2016 18:13:39 +0000 (18:13 +0000)]
Added missing org.simantics.objmap to trunk project set.

refs #6675

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

8 years agoShare project "org.simantics.sysdyn.project-set" into "https://www.simantics.org...
lehtonen [Mon, 5 Sep 2016 11:36:50 +0000 (11:36 +0000)]
Share project "org.simantics.sysdyn.project-set" into "https://www.simantics.org/svn/simantics"

refs #6672

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

8 years agoShare project "org.simantics.sysdyn.project-set" into "https://www.simantics.org...
lehtonen [Mon, 5 Sep 2016 11:36:15 +0000 (11:36 +0000)]
Share project "org.simantics.sysdyn.project-set" into "https://www.simantics.org/svn/simantics"

refs #6672

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

8 years ago(refs #6475) Fixes for manifest, feature.xml and build.properties files that prevent...
lehtonen [Fri, 12 Aug 2016 11:11:22 +0000 (11:11 +0000)]
(refs #6475) Fixes for manifest, feature.xml and build.properties files that prevent Tycho builds from working.

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

8 years ago(refs #6022) Suppress useless and unavoidable warnings.
lehtonen [Wed, 27 Apr 2016 11:41:17 +0000 (11:41 +0000)]
(refs #6022) Suppress useless and unavoidable warnings.

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

8 years ago(refs #6022) Include org.simantics.sysdyn.build feature in org.simantics.sysdyn.produ...
lehtonen [Wed, 27 Apr 2016 11:38:05 +0000 (11:38 +0000)]
(refs #6022) Include org.simantics.sysdyn.build feature in org.simantics.sysdyn.product.site feature to be able to build Sysdyn P2 site during product build also.

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

8 years ago(refs #6022) Suppress useless and unavoidable warnings.
lehtonen [Wed, 27 Apr 2016 11:37:24 +0000 (11:37 +0000)]
(refs #6022) Suppress useless and unavoidable warnings.

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

8 years ago(refs #6022) Moved product definition specific material into org.simantics.sysdyn...
lehtonen [Wed, 27 Apr 2016 11:26:43 +0000 (11:26 +0000)]
(refs #6022) Moved product definition specific material into org.simantics.sysdyn.product plug-in to get Sysdyn P2 site build working.

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

8 years ago(refs #6022) Share project "org.simantics.sysdyn.product" into "https://www.simantics...
lehtonen [Wed, 27 Apr 2016 08:19:52 +0000 (08:19 +0000)]
(refs #6022) Share project "org.simantics.sysdyn.product" into "https://www.simantics.org/svn/simantics"

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

8 years ago(refs #6022) Share project "org.simantics.sysdyn.product" into "https://www.simantics...
lehtonen [Wed, 27 Apr 2016 08:19:45 +0000 (08:19 +0000)]
(refs #6022) Share project "org.simantics.sysdyn.product" into "https://www.simantics.org/svn/simantics"

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

8 years ago(refs #6022) Removed excess include.
lehtonen [Wed, 27 Apr 2016 07:03:30 +0000 (07:03 +0000)]
(refs #6022) Removed excess include.

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

8 years ago(refs #6022) Fixing license text etc.
lehtonen [Wed, 27 Apr 2016 06:40:40 +0000 (06:40 +0000)]
(refs #6022) Fixing license text etc.

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

8 years ago(refs #6022) Removed excess P2 site build feature since org.simantics.sysdyn.build...
lehtonen [Wed, 27 Apr 2016 06:31:10 +0000 (06:31 +0000)]
(refs #6022) Removed excess P2 site build feature since org.simantics.sysdyn.build.feature already existed.

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

8 years ago(refs #6255) Java 1.8.
lehtonen [Tue, 26 Apr 2016 12:54:09 +0000 (12:54 +0000)]
(refs #6255) Java 1.8.

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

8 years ago(refs #6022) Fixing Sysdyn P2 site builds.
lehtonen [Tue, 26 Apr 2016 12:52:50 +0000 (12:52 +0000)]
(refs #6022) Fixing Sysdyn P2 site builds.

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

8 years ago(refs #6400) Changed code to use Consumer<T> instead of Callback<T>
lehtonen [Tue, 26 Apr 2016 12:52:04 +0000 (12:52 +0000)]
(refs #6400) Changed code to use Consumer<T> instead of Callback<T>

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

8 years ago(refs #6022) Added new org.simantics.sysdyn.internal.p2.site feature as a part of...
lehtonen [Tue, 26 Apr 2016 12:49:37 +0000 (12:49 +0000)]
(refs #6022) Added new org.simantics.sysdyn.internal.p2.site feature as a part of the sysdyn headless feature structure to be able to build a P2 site of Sysdyn that can be installed into Simantics desktop.

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

8 years ago(refs #6022) Added new org.simantics.sysdyn.internal.p2.site feature as a part of...
lehtonen [Tue, 26 Apr 2016 12:49:31 +0000 (12:49 +0000)]
(refs #6022) Added new org.simantics.sysdyn.internal.p2.site feature as a part of the sysdyn headless feature structure to be able to build a P2 site of Sysdyn that can be installed into Simantics desktop.

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

8 years ago(refs #6022) Added new org.simantics.sysdyn.internal.p2 feature as a part of the...
lehtonen [Tue, 26 Apr 2016 11:23:35 +0000 (11:23 +0000)]
(refs #6022) Added new org.simantics.sysdyn.internal.p2 feature as a part of the sysdyn headless feature structure to be able to build a P2 site of Sysdyn that can be installed into Simantics desktop.

Fixed copyrights/licenses of features also.

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

8 years agoUse standard Java interfaces instead of custom Simantics interfaces as explained...
jkauttio [Thu, 31 Mar 2016 12:28:18 +0000 (12:28 +0000)]
Use standard Java interfaces instead of custom Simantics interfaces as explained in #6397

fixes #6400

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

8 years agoJavaSE-1.8 compatibility fixes for some generics code.
lehtonen [Fri, 22 Jan 2016 12:37:57 +0000 (12:37 +0000)]
JavaSE-1.8 compatibility fixes for some generics code.

refs #6255

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

8 years agoUpdate execution environment to Java 1.8 for all sysdyn-plugins
jkauttio [Wed, 13 Jan 2016 13:52:01 +0000 (13:52 +0000)]
Update execution environment to Java 1.8 for all sysdyn-plugins

fixes #6255

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

8 years agoFix a resource name read after the resource is removed
jkauttio [Wed, 13 Jan 2016 13:46:51 +0000 (13:46 +0000)]
Fix a resource name read after the resource is removed

refs #6254

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

8 years agoFix a small bug in mdl parser
jkauttio [Fri, 8 Jan 2016 09:00:47 +0000 (09:00 +0000)]
Fix a small bug in mdl parser

refs #5644

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

9 years agoAdded @mod(x,y)@ function to internal solver and changed the current @IEEEremainder...
lehtonen [Tue, 22 Dec 2015 10:59:19 +0000 (10:59 +0000)]
Added @mod(x,y)@ function to internal solver and changed the current @IEEEremainder@ function to @rem(x,y)@ according to Modelica 3.3 specification.

refs #6217

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

9 years agoFixed non-compiling code after merging r31889 from simantics-1.18 branches to trunks...
lehtonen [Fri, 30 Oct 2015 08:37:07 +0000 (08:37 +0000)]
Fixed non-compiling code after merging r31889 from simantics-1.18 branches to trunks in r31897.

refs #6113

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

9 years agoFixed DependencyEdgeClass to compile and work again after removing DiagramMutator...
lehtonen [Wed, 28 Oct 2015 14:28:02 +0000 (14:28 +0000)]
Fixed DependencyEdgeClass to compile and work again after removing DiagramMutator.modifyProperty in r31877.

refs #6107

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

9 years agorefs #6022
jsimomaa [Wed, 21 Oct 2015 12:25:06 +0000 (12:25 +0000)]
refs #6022

Trying to get sysdyn p2 builds to work

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

9 years agorefs #6022
jsimomaa [Wed, 21 Oct 2015 12:24:57 +0000 (12:24 +0000)]
refs #6022

Trying to get sysdyn p2 builds to work

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

9 years agorefs #6022
jsimomaa [Wed, 21 Oct 2015 12:24:41 +0000 (12:24 +0000)]
refs #6022
Share project "org.simantics.sysdyn.internal.p2.feature" into "https://www.simantics.org/svn/simantics"

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

9 years agorefs #6022
jsimomaa [Wed, 21 Oct 2015 11:55:01 +0000 (11:55 +0000)]
refs #6022

Renaming org.simantics.sysdyn.build.feature to org.simantics.sysdyn.build for Buckminster and Jenkins

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

9 years agofixes #6073
luukkainen [Fri, 2 Oct 2015 09:29:45 +0000 (09:29 +0000)]
fixes #6073

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

9 years agoHandle if-then-else in xmile import, change default suffix for xmile files from ...
jkauttio [Tue, 29 Sep 2015 13:53:30 +0000 (13:53 +0000)]
Handle if-then-else in xmile import, change default suffix for xmile files from .xml to .xmile

refs #6057

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

9 years agoAdd implementation for XMILE.INIT
jkauttio [Mon, 28 Sep 2015 13:01:33 +0000 (13:01 +0000)]
Add implementation for XMILE.INIT

refs #6057

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

9 years ago(refs #6042) Support IC state in Simupedia API
villberg [Wed, 23 Sep 2015 12:50:49 +0000 (12:50 +0000)]
(refs #6042) Support IC state in Simupedia API

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

9 years agorefs #6022
jsimomaa [Thu, 3 Sep 2015 06:20:19 +0000 (06:20 +0000)]
refs #6022

Create P2 build for Sysdyn to make it possible to install sysdyn via P2 repository

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

9 years agorefs #6022
jsimomaa [Thu, 3 Sep 2015 06:07:20 +0000 (06:07 +0000)]
refs #6022

Create P2 build for Sysdyn to make it possible to install sysdyn via P2 repository

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

9 years agorefs #6022
jsimomaa [Thu, 3 Sep 2015 05:53:41 +0000 (05:53 +0000)]
refs #6022

Create P2 build for Sysdyn to make it possible to install sysdyn via P2 repository

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

9 years agorefs #6022
jsimomaa [Thu, 3 Sep 2015 05:53:21 +0000 (05:53 +0000)]
refs #6022

Share project "org.simantics.sysdyn.build.feature" into "https://www.simantics.org/svn/simantics"

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

9 years agoChanged org.simantics.db.layer0.util.SimanticsClipboard.Representation.getValue to...
lehtonen [Fri, 21 Aug 2015 08:32:10 +0000 (08:32 +0000)]
Changed org.simantics.db.layer0.util.SimanticsClipboard.Representation.getValue to throw DatabaseExceptions to allow excepitons to be propagated out of ClipboardUtils.accept, etc. methods.

Previously all Reprensentation implementations had to internally catch any problems they experienced, which is just wrong.

refs #6001

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

9 years agorefs #5900
jsimomaa [Thu, 11 Jun 2015 11:14:49 +0000 (11:14 +0000)]
refs #5900

Adding required org.simantics.document.linking.ontology

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

9 years agorefs #5900
jsimomaa [Thu, 11 Jun 2015 11:04:06 +0000 (11:04 +0000)]
refs #5900

Add org.simantics.document.linking.ui to org.simantics.sysdyn.internal.feature

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

9 years agoClean up Sysdyn SCL module and add implementations for parameter access
jkauttio [Thu, 11 Jun 2015 09:45:36 +0000 (09:45 +0000)]
Clean up Sysdyn SCL module and add implementations for parameter access

refs #5895

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

9 years agoFix a potential race condition in experiment initialization
jkauttio [Thu, 11 Jun 2015 09:44:20 +0000 (09:44 +0000)]
Fix a potential race condition in experiment initialization

refs #5895

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

9 years agoRemove an unnecessary async transaction from experiment initialization (caused a...
jkauttio [Thu, 11 Jun 2015 09:43:38 +0000 (09:43 +0000)]
Remove an unnecessary async transaction from experiment initialization (caused a race condition when an experiment was initialized with SCL)

refs #5895

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

9 years agoImplement basic model and variable access SCL functions
jkauttio [Fri, 5 Jun 2015 13:57:59 +0000 (13:57 +0000)]
Implement basic model and variable access SCL functions

refs #5895

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

9 years agoAdd a simple SCL function for obtaining simulation results from an experiment
jkauttio [Thu, 4 Jun 2015 12:16:42 +0000 (12:16 +0000)]
Add a simple SCL function for obtaining simulation results from an experiment

refs #5895

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

9 years agoAdd randomNormal to internal solver
jkauttio [Wed, 27 May 2015 12:16:08 +0000 (12:16 +0000)]
Add randomNormal to internal solver

refs #5878

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

9 years agoChange the default dependency angle value from 0.0 to 0.1 in vensim import (sysdyn...
jkauttio [Wed, 27 May 2015 11:03:00 +0000 (11:03 +0000)]
Change the default dependency angle value from 0.0 to 0.1 in vensim import (sysdyn does not play nice with angles at excatly zero)

refs #5644

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

9 years agoImplement randomUniform and fix randomNumber in internal solver
jkauttio [Wed, 27 May 2015 11:01:18 +0000 (11:01 +0000)]
Implement randomUniform and fix randomNumber in internal solver

refs #5878

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

9 years agoTesting commit (refs #5876).
meklund [Wed, 27 May 2015 07:52:45 +0000 (07:52 +0000)]
Testing commit (refs #5876).

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

9 years agoShare project "org.simantics.om.feature" into "https://www.simantics.org/svn/simantics"
lehtonen [Thu, 21 May 2015 12:47:50 +0000 (12:47 +0000)]
Share project "org.simantics.om.feature" into "https://www.simantics.org/svn/simantics"

refs #5865

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

9 years agoShare project "org.simantics.om.feature" into "https://www.simantics.org/svn/simantics"
lehtonen [Thu, 21 May 2015 12:47:42 +0000 (12:47 +0000)]
Share project "org.simantics.om.feature" into "https://www.simantics.org/svn/simantics"

refs #5865

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

9 years agoSeparated sysdyn.product into two products: one with bundled OpenModelica (sysdyn...
lehtonen [Thu, 21 May 2015 12:10:06 +0000 (12:10 +0000)]
Separated sysdyn.product into two products: one with bundled OpenModelica (sysdyn-with-openmodelica.product) and one without (sysdyn.product).

* Ignored some code warnings
* Moved root files to org.simantics.sysdyn.internal feature
* Changed all sysdyn plug-ins to JavaSE-1.7

refs #5865

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

9 years agoMoved example models etc. rootfiles to org.simantics.sysdyn.internal feature to inclu...
lehtonen [Thu, 21 May 2015 11:48:49 +0000 (11:48 +0000)]
Moved example models etc. rootfiles to org.simantics.sysdyn.internal feature to include them also in the build that doesn't include OpenModelica.

refs #5865

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

9 years agoMake ModelicaManager behave better when the built-in org.simantics.om.win32 plug...
lehtonen [Thu, 21 May 2015 08:46:38 +0000 (08:46 +0000)]
Make ModelicaManager behave better when the built-in org.simantics.om.win32 plug-in is not included in the product.

* Modelica preference page now allows an empty value for Modelica Home
* ModelicaPreferenceInitializer takes into account that an OM installation might not exist
* Cleaned exception handling in ModelicaManager by throwing more exceptions instead of catching and printing them
* Switched org.simantics.modelica from JavaSE-1.6 to JavaSE-1.7

refs #5865

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

9 years agoFixed use of G2DNode.getTransform in SysdynTextElementNoBounds.
lehtonen [Thu, 21 May 2015 06:19:30 +0000 (06:19 +0000)]
Fixed use of G2DNode.getTransform in SysdynTextElementNoBounds.

refs #5863

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

9 years agoRedid r31326 to sysdyn trunk also.
lehtonen [Wed, 20 May 2015 13:36:36 +0000 (13:36 +0000)]
Redid r31326 to sysdyn trunk also.

refs #5858

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

9 years agoAdd xmile plugin to sysdyn feature
jkauttio [Mon, 27 Apr 2015 10:30:33 +0000 (10:30 +0000)]
Add xmile plugin to sysdyn feature

refs #5645

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

9 years agoMove xmile plugin from incubator to sysdyn trunk
jkauttio [Mon, 27 Apr 2015 10:28:21 +0000 (10:28 +0000)]
Move xmile plugin from incubator to sysdyn trunk

refs #5645

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

9 years agoShare project "org.simantics.sysdyn.xmile" into "https://www.simantics.org/svn/simantics"
jkauttio [Mon, 27 Apr 2015 10:27:36 +0000 (10:27 +0000)]
Share project "org.simantics.sysdyn.xmile" into "https://www.simantics.org/svn/simantics"

refs #5645

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

9 years agoFix a problem in variable finding utility which caused variables inside modules to...
jkauttio [Fri, 24 Apr 2015 13:10:19 +0000 (13:10 +0000)]
Fix a problem in variable finding utility which caused variables inside modules to be ignored

fixes #5794

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

9 years agoWorld2 test model for Sysdyn more fine-tuned (refs #5771).
miettinen [Fri, 24 Apr 2015 12:19:34 +0000 (12:19 +0000)]
World2 test model for Sysdyn more fine-tuned (refs #5771).

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

9 years agoAdd an epsilon to simulation result filtering
jkauttio [Fri, 24 Apr 2015 10:35:30 +0000 (10:35 +0000)]
Add an epsilon to simulation result filtering

fixes #5785

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

9 years agoWorld2 test model for Sysdyn more fine-tuned (refs #5771).
miettinen [Fri, 24 Apr 2015 10:01:14 +0000 (10:01 +0000)]
World2 test model for Sysdyn more fine-tuned (refs #5771).

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

9 years agoWorld2 test model for Sysdyn fine-tuned (refs #5771).
miettinen [Fri, 24 Apr 2015 09:58:26 +0000 (09:58 +0000)]
World2 test model for Sysdyn fine-tuned (refs #5771).

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

9 years agoWorld2 test model for Sysdyn (refs #5771).
miettinen [Fri, 24 Apr 2015 08:07:02 +0000 (08:07 +0000)]
World2 test model for Sysdyn (refs #5771).

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

9 years agoImplement support for else-if statements in internal solver
jkauttio [Wed, 22 Apr 2015 13:18:01 +0000 (13:18 +0000)]
Implement support for else-if statements in internal solver

fixes #5777

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

9 years agoUpdate parameter change handling in OpenModelica experiments to avoid forgetting...
jkauttio [Tue, 21 Apr 2015 13:41:41 +0000 (13:41 +0000)]
Update parameter change handling in OpenModelica experiments to avoid forgetting changes made between different simulations. Also make the check for old OpenModelica version always return false as the implementation could return an incorrect value and old OpenModelica versions are not supported any more.

fixes #5776

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

9 years agoFilter simulation results based on the given simulation parameters. Also fix a possib...
jkauttio [Tue, 21 Apr 2015 09:45:09 +0000 (09:45 +0000)]
Filter simulation results based on the given simulation parameters. Also fix a possible bug in the way the output interval was applied with openmodelica and sensitivity analysis experiments.

fixes #5785

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

9 years agoPopulation test model for Sysdyn (refs #5771).
miettinen [Tue, 21 Apr 2015 05:24:05 +0000 (05:24 +0000)]
Population test model for Sysdyn (refs #5771).

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

9 years agoEcotax test model for Sysdyn (refs #5771).
miettinen [Mon, 20 Apr 2015 10:05:15 +0000 (10:05 +0000)]
Ecotax test model for Sysdyn (refs #5771).

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

9 years agoSupply chain test model for Sysdyn fine-tuned (refs #5771).
miettinen [Mon, 20 Apr 2015 05:57:03 +0000 (05:57 +0000)]
Supply chain test model for Sysdyn fine-tuned (refs #5771).

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

9 years agoSupply chain test model for Sysdyn (refs #5771).
miettinen [Fri, 17 Apr 2015 10:21:53 +0000 (10:21 +0000)]
Supply chain test model for Sysdyn (refs #5771).

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

9 years agoAdded units to startTime, stopTime, and timeStep variables in Sysdyn (refs #5773).
miettinen [Fri, 17 Apr 2015 07:14:28 +0000 (07:14 +0000)]
Added units to startTime, stopTime, and timeStep variables in Sysdyn (refs #5773).

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

9 years agoRename timeParam and timeStepParam to just time and timeStep and add a couple of...
jkauttio [Thu, 16 Apr 2015 14:06:11 +0000 (14:06 +0000)]
Rename timeParam and timeStepParam to just time and timeStep and add a couple of XMILE functions into the function library

refs #5645

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

9 years agoRandom generator for OpenModelica simulations in Sysdyn (refs #5771).
miettinen [Thu, 16 Apr 2015 11:22:21 +0000 (11:22 +0000)]
Random generator for OpenModelica simulations in Sysdyn (refs #5771).

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

9 years agoDisable unit validation from enumerations in Sysdyn (refs #5772).
miettinen [Thu, 16 Apr 2015 11:17:20 +0000 (11:17 +0000)]
Disable unit validation from enumerations in Sysdyn (refs #5772).

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

9 years agoRemoved internal Modelica solver functions that are not found in java 7 Math library...
miettinen [Thu, 16 Apr 2015 07:54:38 +0000 (07:54 +0000)]
Removed internal Modelica solver functions that are not found in java 7 Math library (refs #5769).

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

9 years agoUpdated the old Sysdyn test models (removed sheet experiments, and made some small...
miettinen [Thu, 16 Apr 2015 05:49:03 +0000 (05:49 +0000)]
Updated the old Sysdyn test models (removed sheet experiments, and made some small face lifts) (refs #5771).

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

9 years ago(fixes #5769) Add java.lang.Math functions as built-in functions
villberg [Wed, 15 Apr 2015 11:44:30 +0000 (11:44 +0000)]
(fixes #5769) Add java.lang.Math functions as built-in functions

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

9 years ago...rename the openmodelica folder as om (refs #5558).
miettinen [Wed, 15 Apr 2015 11:00:59 +0000 (11:00 +0000)]
...rename the openmodelica folder as om (refs #5558).

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

9 years agoRemove the old om folder... (refs #5558)
miettinen [Wed, 15 Apr 2015 11:00:04 +0000 (11:00 +0000)]
Remove the old om folder... (refs #5558)

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

9 years ago(fixes #5689) IC loading/saving does not work for indexed variables
villberg [Wed, 15 Apr 2015 08:36:31 +0000 (08:36 +0000)]
(fixes #5689) IC loading/saving does not work for indexed variables

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

9 years agoUpdated the current solvers of OpenModelica to Sysdyn (refs #5766).
miettinen [Tue, 14 Apr 2015 12:33:24 +0000 (12:33 +0000)]
Updated the current solvers of OpenModelica to Sysdyn (refs #5766).

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

9 years agoChanged the OpenModelica version to 1.9.2 (refs #5759).
miettinen [Tue, 14 Apr 2015 08:34:32 +0000 (08:34 +0000)]
Changed the OpenModelica version to 1.9.2 (refs #5759).
Renamed the OpenModelica plugin, since the full path in an installation becomes otherwise to long.
Changed the default solver of Sysdyn to internal.

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

9 years agoChange the radio buttons in the tool bar so that the state is stored over tool restar...
jkauttio [Mon, 13 Apr 2015 10:08:20 +0000 (10:08 +0000)]
Change the radio buttons in the tool bar so that the state is stored over tool restarts (this was surprisingly much easier than resetting the state)

fixes #5760

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

9 years agoFix several bugs with diagram tool modes.
jkauttio [Fri, 10 Apr 2015 12:59:17 +0000 (12:59 +0000)]
Fix several bugs with diagram tool modes.

- Remove the auxiliary creation mode from the tool bar as it was not implemented in the first place
- Fix a NullPointerException in flow creation mode which occurred when the mouse pointer hovered over diagram elements
- Make variable creation shortcuts (shift-a, shift-s etc.) to only work in the basic pointer mode, this also fixes a bug which allowed variables to be created when the diagram was in the lock mode
- Clean up DiagramToolHandler, context was initialized inside a separate thread even though there does not seem to be any reason to do so. Revert this change if something breaks.

fixes #5758

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

9 years ago(fixes #5755) Remove Simupedia specific includes from default SCLMain
jussi.koskela [Thu, 2 Apr 2015 07:50:13 +0000 (07:50 +0000)]
(fixes #5755) Remove Simupedia specific includes from default SCLMain

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

9 years agoAdd documentation support to Xmile import / export
jkauttio [Fri, 6 Mar 2015 14:41:49 +0000 (14:41 +0000)]
Add documentation support to Xmile import / export

THIS IS VERY WORK IN PROGRESS AND NOT FUNCTIONAL AT THE MOMENT.

refs #5645

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

9 years agoImprove Xmile support, import -> export -> import works with example model
jkauttio [Tue, 3 Mar 2015 15:43:18 +0000 (15:43 +0000)]
Improve Xmile support, import -> export -> import works with example model

THIS IS VERY WORK IN PROGRESS AND NOT FUNCTIONAL AT THE MOMENT.

refs #5645

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

9 years ago(refs #5538) Removed debug print.
jussi.koskela [Tue, 3 Mar 2015 12:56:11 +0000 (12:56 +0000)]
(refs #5538) Removed debug print.

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

9 years ago(fixes #5695) Assertion error when removing a model
villberg [Tue, 3 Mar 2015 09:36:35 +0000 (09:36 +0000)]
(fixes #5695) Assertion error when removing a model

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

9 years agoXmile export update and general cleanup
jkauttio [Fri, 27 Feb 2015 15:32:48 +0000 (15:32 +0000)]
Xmile export update and general cleanup

THIS IS VERY WORK IN PROGRESS AND NOT FUNCTIONAL AT THE MOMENT.

refs #5645

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

9 years ago(fixes #5681) Vector*matrix not implemented
jussi.koskela [Tue, 24 Feb 2015 13:35:10 +0000 (13:35 +0000)]
(fixes #5681) Vector*matrix not implemented

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

9 years agoRemove Simupedia feature from sysdyn.product
jkauttio [Mon, 16 Feb 2015 11:19:37 +0000 (11:19 +0000)]
Remove Simupedia feature from sysdyn.product

fixes #5671

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