]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
11 years agoFixed Stock initialization with single number fill(number, size) to use dynamic Enume...
lempinen [Fri, 15 Feb 2013 14:59:51 +0000 (14:59 +0000)]
Fixed Stock initialization with single number fill(number, size) to use dynamic EnumerationName.size instead of getting the size from the number of indexes defined to enumeration. This way it works also with overridden enumerations (fixes #4073)

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

11 years agoRemoved bin folder from svn. (refs #3878)
lempinen [Tue, 12 Feb 2013 12:08:29 +0000 (12:08 +0000)]
Removed bin folder from svn. (refs #3878)

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

11 years agoBetter logic and validation for user-selected OpenModelica (refs #4061)
lempinen [Tue, 12 Feb 2013 11:38:43 +0000 (11:38 +0000)]
Better logic and validation for user-selected OpenModelica (refs #4061)

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

11 years agoAdded missing OM version preference page (refs #4061)
lempinen [Tue, 12 Feb 2013 06:25:42 +0000 (06:25 +0000)]
Added missing OM version preference page (refs #4061)

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

11 years agoUsing Preferences and UI Preferences page to control OM version (refs #4061)
lempinen [Tue, 12 Feb 2013 06:20:52 +0000 (06:20 +0000)]
Using Preferences and UI Preferences page to control OM version (refs #4061)

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

11 years agoForgot to commit out document viewer (refs #4061)
lempinen [Mon, 11 Feb 2013 08:29:53 +0000 (08:29 +0000)]
Forgot to commit out document viewer (refs #4061)

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

11 years agoPreference pages for selecting OM version. This is difficult to use since preference...
lempinen [Mon, 11 Feb 2013 08:25:48 +0000 (08:25 +0000)]
Preference pages for selecting OM version. This is difficult to use since preference pages are UI components and Modelica should be headless. There needs to be changes in the Modelica interface. (refs #4061)

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

11 years agoNew OpenModelica 1.9 Beta 4. We will use this if the final release does not come...
lempinen [Fri, 8 Feb 2013 13:12:25 +0000 (13:12 +0000)]
New OpenModelica 1.9 Beta 4. We will use this if the final release does not come before Sysdyn release. (refs #3878)

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

11 years agoRemoved old OpenModelica 1.8.1 (refs #3878)
lempinen [Fri, 8 Feb 2013 12:58:23 +0000 (12:58 +0000)]
Removed old OpenModelica 1.8.1 (refs #3878)

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

11 years agoEnabled parameter overrides for normal experiments. A flattened model is created...
lempinen [Fri, 8 Feb 2013 12:50:49 +0000 (12:50 +0000)]
Enabled parameter overrides for normal experiments. A flattened model is created with OpenModelica 1.9 to find parameters, so also module instance parameters work automatically. (fixes #4060)

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

11 years agoTreat variables with pre() and delay() functions as continuous variables instead...
lempinen [Fri, 8 Feb 2013 12:38:33 +0000 (12:38 +0000)]
Treat variables with pre() and delay() functions as continuous variables instead of parameter variables (fixes #4059)

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

11 years agoUnused index variable is no longer marked as invalid index. (fixes #4058)
lempinen [Fri, 8 Feb 2013 12:35:45 +0000 (12:35 +0000)]
Unused index variable is no longer marked as invalid index. (fixes #4058)

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

11 years agoInputs do not display the name (UUID) of experiment runs as their parents (fixes...
lempinen [Fri, 8 Feb 2013 12:33:36 +0000 (12:33 +0000)]
Inputs do not display the name (UUID) of experiment runs as their parents (fixes #4057)

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

11 years agoExport model, module, and function library ask confirmation on overwriting an existin...
miettinen [Fri, 8 Feb 2013 10:23:27 +0000 (10:23 +0000)]
Export model, module, and function library ask confirmation on overwriting an existing file (refs #4021).

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

11 years agoFixing a bit more properly (refs #4048). It might work.
miettinen [Fri, 8 Feb 2013 06:36:01 +0000 (06:36 +0000)]
Fixing a bit more properly (refs #4048). It might work.

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

11 years ago* The sorting of variables in shortcut tab lost the data field. Now the data field...
miettinen [Fri, 8 Feb 2013 06:19:24 +0000 (06:19 +0000)]
* The sorting of variables in shortcut tab lost the data field. Now the data field is added in addition to the text field (refs #4048).
* Added polarity signs for dependencies whose one end is connected to a module, similarly to those that were connected to variables (refs #3940).
* Validating names of variables and module instances now checks also that there are no similarly named modules within the current model (or current module instance). Such invalid names are not accepted (#refs #3040).
* Validating names of variables and module instances now checks also that there are no similarly named module types defined in the model. Such invalid names are not accepted (#refs #680).

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

11 years agofixes #4053
luukkainen [Thu, 7 Feb 2013 13:35:25 +0000 (13:35 +0000)]
fixes #4053

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

11 years agofixes #4044
luukkainen [Thu, 31 Jan 2013 16:17:47 +0000 (16:17 +0000)]
fixes #4044

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

11 years agorefs #4043
luukkainen [Thu, 31 Jan 2013 14:24:43 +0000 (14:24 +0000)]
refs #4043

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

11 years agofixes #4041
luukkainen [Thu, 31 Jan 2013 11:24:48 +0000 (11:24 +0000)]
fixes #4041

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

11 years ago* Add the name of the item itself to the text feed assistant and the variable list...
miettinen [Wed, 30 Jan 2013 08:17:32 +0000 (08:17 +0000)]
* Add the name of the item itself to the text feed assistant and the variable list in the equation tab. (refs #4037)
* Reference to self in equation does not get the yellow underlining anymore ("No link to this variable"). (refs #4024)
* Sort items in shortcut tab
* Color time and self gray

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

11 years agoNew year (2013) to splash screen (refs #4035).
miettinen [Tue, 29 Jan 2013 12:47:01 +0000 (12:47 +0000)]
New year (2013) to splash screen (refs #4035).

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

11 years ago* Added "time" variable to text feed assistants: in expression editor, shortcut tab...
miettinen [Mon, 28 Jan 2013 11:53:32 +0000 (11:53 +0000)]
* Added "time" variable to text feed assistants: in expression editor, shortcut tab, and charts (refs #3990)
* Refactoring the deselecting in shortcutTabWidget: listeners changed to style definitions

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

11 years agoDisallowing variable names beginning with a number (refs #3939 #3945).
miettinen [Fri, 25 Jan 2013 11:24:22 +0000 (11:24 +0000)]
Disallowing variable names beginning with a number (refs #3939 #3945).

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

11 years agoShortcut tab in equation tab doesn't update the variable colors if there are syntax...
miettinen [Fri, 25 Jan 2013 10:31:02 +0000 (10:31 +0000)]
Shortcut tab in equation tab doesn't update the variable colors if there are syntax errors in the expression. That is, when the equation is being written, the list doesn't constantly go yellow and back to normal again (refs #3961).

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

11 years agoequals check did not expect null parameter.
luukkainen [Thu, 24 Jan 2013 13:31:26 +0000 (13:31 +0000)]
equals check did not expect null parameter.

refs #3988

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

11 years agoChanged the 'save equation when running simulation' feature implementation: The Equat...
miettinen [Thu, 24 Jan 2013 12:17:59 +0000 (12:17 +0000)]
Changed the 'save equation when running simulation' feature implementation: The EquationTab no longer uses keyboard focus to determine, if one of the simulate buttons are pressed. Instead, such simulation buttons that are desired to activate the saving are explicitly calling the save function of the EquationTab (refs #4009).

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

11 years ago* Add the saved simulation results under the experiment _after_ the respective Record...
miettinen [Tue, 22 Jan 2013 14:13:17 +0000 (14:13 +0000)]
* Add the saved simulation results under the experiment _after_ the respective RecordAccessors have been saved to file (refs #3958).
* Catching NPEs that are thrown if any "repeat" button is pressed consecutively (refs #4007).

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

11 years agoSimulate buttons save changes made in the model (refs #3960).
miettinen [Tue, 22 Jan 2013 07:11:22 +0000 (07:11 +0000)]
Simulate buttons save changes made in the model (refs #3960).
When pressing certain simulation buttons in toolbar, they acquire the focus which in turn causes focus listeners to save changes, e.g. in EquationTab. All buttons do not cause this effect.

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

11 years agoAfter copy, equations are changed to match the names of the copied variables. (fixes...
lempinen [Fri, 18 Jan 2013 12:08:58 +0000 (12:08 +0000)]
After copy, equations are changed to match the names of the copied variables. (fixes #3893)

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

11 years agoStringChooser for selecting objects with labels.
luukkainen [Fri, 18 Jan 2013 11:18:04 +0000 (11:18 +0000)]
StringChooser for selecting objects with labels.
Replaced TrackedText with StingChooser in Bar/PiePropertyComposite2.

refs #3988
fixes #3996

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

11 years agorefs #3996
luukkainen [Fri, 18 Jan 2013 08:32:42 +0000 (08:32 +0000)]
refs #3996

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

11 years agoSeparated fmu instantiation from initialization. Initial values can be changed after...
lempinen [Fri, 18 Jan 2013 08:22:44 +0000 (08:22 +0000)]
Separated fmu instantiation from initialization. Initial values can be changed after instantiation and before initialization with normal setRealValue, setBooleanValue, etc. If initialization has not been run after instantiation, and user tries to simulate steps, initialiation is run. (fixes #3909)

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

11 years agoReference to self no longer creates a "not connected" issue (fixes #3999)
lempinen [Fri, 18 Jan 2013 08:19:09 +0000 (08:19 +0000)]
Reference to self no longer creates a "not connected" issue (fixes #3999)

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

11 years agoReplaced awkward Pair construct with ChartVariable class.
luukkainen [Thu, 17 Jan 2013 16:14:59 +0000 (16:14 +0000)]
Replaced awkward Pair construct with ChartVariable class.

refs #3988

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

11 years agoTemporary UI for labels with separate rvi / labels.
luukkainen [Thu, 17 Jan 2013 13:58:35 +0000 (13:58 +0000)]
Temporary UI for labels with separate rvi / labels.

refs #3988

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

11 years agoInitial variable rvi / label separation. Work in progress...
luukkainen [Thu, 17 Jan 2013 13:57:47 +0000 (13:57 +0000)]
Initial variable rvi / label separation. Work in progress...

refs #3988

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

11 years agochart selection processor moved to jfreechart plug-in
luukkainen [Wed, 16 Jan 2013 16:12:55 +0000 (16:12 +0000)]
chart selection processor moved to jfreechart plug-in

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:57:37 +0000 (10:57 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:53:01 +0000 (10:53 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agochart component moved to jfreechart plug-in.
luukkainen [Wed, 16 Jan 2013 10:49:27 +0000 (10:49 +0000)]
chart component moved to jfreechart plug-in.

refs #3988

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

11 years agoMoved jfreechart related ontologies
luukkainen [Wed, 16 Jan 2013 10:47:57 +0000 (10:47 +0000)]
Moved jfreechart related ontologies

refs #3988

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

11 years agoSysdyn charts component as a separate plug-in.
luukkainen [Wed, 16 Jan 2013 10:42:17 +0000 (10:42 +0000)]
Sysdyn charts component as a separate plug-in.

refs #3988

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

11 years agoShare project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"
luukkainen [Wed, 16 Jan 2013 10:41:28 +0000 (10:41 +0000)]
Share project "org.simantics.jfreechart" into "https://www.simantics.org/svn/simantics"

refs #3988

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

11 years agoSmall memory leak fixed in redrawing the trend view (refs #3797).
miettinen [Tue, 15 Jan 2013 13:05:25 +0000 (13:05 +0000)]
Small memory leak fixed in redrawing the trend view (refs #3797).

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

11 years agoAllow function calls as enumeration indexes (fixes #3977)
lempinen [Fri, 11 Jan 2013 11:12:53 +0000 (11:12 +0000)]
Allow function calls as enumeration indexes (fixes #3977)

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

11 years agoValueIndexVariable provides the possibly changed value in game experiments without...
lempinen [Fri, 11 Jan 2013 10:57:03 +0000 (10:57 +0000)]
ValueIndexVariable provides the possibly changed value in game experiments without having to simulate steps. (fixes #3976)

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

11 years agoDependency node is a text node and it requires a string as text. Updated the string...
lempinen [Fri, 11 Jan 2013 10:42:09 +0000 (10:42 +0000)]
Dependency node is a text node and it requires a string as text. Updated the string to be empty instead of null, if polarity has not been set. (fixes #3975)

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

11 years agoPreparing for new OpenModelica release (refs #3878)
lempinen [Fri, 11 Jan 2013 10:35:59 +0000 (10:35 +0000)]
Preparing for new OpenModelica release (refs #3878)

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

11 years agoAsking OpenModelica version only upon running the first experiment after startup...
miettinen [Wed, 9 Jan 2013 10:14:07 +0000 (10:14 +0000)]
Asking OpenModelica version only upon running the first experiment after startup (refs #3941).

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

11 years agoFixed brekage that occurred in Sysdyn after multiline support modifications were...
lehtonen [Tue, 1 Jan 2013 21:58:52 +0000 (21:58 +0000)]
Fixed brekage that occurred in Sysdyn after multiline support modifications were made to TextNode.
Sysdyn contains scene graph node implementations that are inherited from TextNode and those were broken by r26561.

refs #3924

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

12 years agoDelete expression was still using OrderedSet. Removed all references to ordered sets...
lempinen [Thu, 20 Dec 2012 12:26:26 +0000 (12:26 +0000)]
Delete expression was still using OrderedSet. Removed all references to ordered sets (and also commented references to ordered sets) (fixes #3905)

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

12 years agoFixed save in DelayExpression. Simple copy&paste error. (fixes #3904)
lempinen [Thu, 20 Dec 2012 11:53:04 +0000 (11:53 +0000)]
Fixed save in DelayExpression. Simple copy&paste error. (fixes #3904)

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

12 years agoSet up org.simantics.sysdyn.feature build properties to bundle JRE when building...
lehtonen [Tue, 18 Dec 2012 08:12:00 +0000 (08:12 +0000)]
Set up org.simantics.sysdyn.feature build properties to bundle JRE when building with buckminster on Jenkins.

fixes #3900

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

12 years ago-XX:MaxPermSize=192 for sysdyn product launch arguments.
lehtonen [Tue, 18 Dec 2012 08:11:08 +0000 (08:11 +0000)]
-XX:MaxPermSize=192 for sysdyn product launch arguments.

fixes #3899

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

12 years agoBuild preparations (refs #3646)
lempinen [Fri, 14 Dec 2012 13:41:33 +0000 (13:41 +0000)]
Build preparations (refs #3646)

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

12 years agoNull check for lazy result reading (refs #3709)
lempinen [Tue, 11 Dec 2012 07:19:31 +0000 (07:19 +0000)]
Null check for lazy result reading (refs #3709)

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

12 years agoNull checks for lazy result reading save (refs #3709)
miettinen [Mon, 10 Dec 2012 10:41:12 +0000 (10:41 +0000)]
Null checks for lazy result reading save (refs #3709)

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

12 years agoOptimized simulation result read: Fixing results saving bug (refs #3709)
miettinen [Mon, 10 Dec 2012 09:07:47 +0000 (09:07 +0000)]
Optimized simulation result read: Fixing results saving bug (refs #3709)

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

12 years ago* Optimized simulation result read: The result file is indexed after running the...
miettinen [Fri, 7 Dec 2012 12:12:13 +0000 (12:12 +0000)]
* Optimized simulation result read: The result file is indexed after running the simulation; only the 'time' variable and parameters are read straight after the simulation. (refs #3709)
* Fixing a bug of output interval rounding up instead of rounding to the nearest.

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

12 years agoRemoved forgotten debug prints (refs #3708)
lempinen [Wed, 5 Dec 2012 13:34:43 +0000 (13:34 +0000)]
Removed forgotten debug prints (refs #3708)

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

12 years agoFixed copy issues. Changed ordered sets from sysdyn ontology to lists and added requi...
lempinen [Wed, 5 Dec 2012 12:15:42 +0000 (12:15 +0000)]
Fixed copy issues. Changed ordered sets from sysdyn ontology to lists and added required migration steps and tools for old models (refs #3708)

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

12 years agoReverted documentation changes away from trunk (refs #3884)
lempinen [Fri, 30 Nov 2012 11:18:45 +0000 (11:18 +0000)]
Reverted documentation changes away from trunk (refs #3884)

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

12 years agoFixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)
lempinen [Fri, 30 Nov 2012 11:05:03 +0000 (11:05 +0000)]
Fixed parameter reading and changing for 1.9 OpenModelica release. (fixes #3884)

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

12 years agoRemoved spreadsheet remover and improved sheet handling (refs #3473)
lempinen [Wed, 28 Nov 2012 09:24:26 +0000 (09:24 +0000)]
Removed spreadsheet remover and improved sheet handling (refs #3473)

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

12 years agoFixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.
lehtonen [Tue, 27 Nov 2012 21:43:02 +0000 (21:43 +0000)]
Fixed Sysdyn DiagramViewer after changes to the generic DiagramViewer in r26467.

refs #3863

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

12 years agoRemoved immediate text edit activation on element select. (fixes #3880)
lempinen [Tue, 27 Nov 2012 12:10:20 +0000 (12:10 +0000)]
Removed immediate text edit activation on element select. (fixes #3880)

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

12 years agoRemoved unnecessary hover hint listener code from TextElementNoBounds completely.
lehtonen [Tue, 27 Nov 2012 09:28:18 +0000 (09:28 +0000)]
Removed unnecessary hover hint listener code from TextElementNoBounds completely.
They were implemented incorrectly and caused problems in TextNode and should not be there at all.

refs #3877

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

12 years agoMigration for all imports: model, module and function library (fixes #3037)
lempinen [Tue, 27 Nov 2012 06:41:35 +0000 (06:41 +0000)]
Migration for all imports: model, module and function library (fixes #3037)

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

12 years agoVersion migration support to sysdyn. Changes paths in .tg files to enable importing...
lempinen [Mon, 26 Nov 2012 12:11:17 +0000 (12:11 +0000)]
Version migration support to sysdyn. Changes paths in .tg files to enable importing to a newer database. (fixes #3037)

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

12 years agoEnsured that all module configuration definitions are written into the declaration...
lempinen [Mon, 26 Nov 2012 12:09:18 +0000 (12:09 +0000)]
Ensured that all module configuration definitions are written into the declaration part of a model (fixes #3875)

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

12 years agoMoved calculating ranges to a different place and changed it to use synchronized...
lempinen [Mon, 26 Nov 2012 12:07:29 +0000 (12:07 +0000)]
Moved calculating ranges to a different place and changed it to use synchronized query. (fixes #3874)

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

12 years agoSpecial paste -option to diagram context menu (fixes #783)
lempinen [Fri, 23 Nov 2012 08:51:42 +0000 (08:51 +0000)]
Special paste -option to diagram context menu (fixes #783)

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

12 years agoSeparate name caches for each diagram configuration. Previously sysdyn model had...
lempinen [Thu, 22 Nov 2012 08:39:04 +0000 (08:39 +0000)]
Separate name caches for each diagram configuration. Previously sysdyn model had only one cache for the whole model. The cache was created from the first diagram configuration that was opened. (fixes #3773)

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

12 years agoAdded remover to remove references from dependency arrows when the referred variables...
lempinen [Wed, 21 Nov 2012 13:14:14 +0000 (13:14 +0000)]
Added remover to remove references from dependency arrows when the referred variables are removed (fixes #3580)

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

12 years agoAdded sheet variable transformation to stock start value (fixes #3790)
lempinen [Wed, 21 Nov 2012 09:43:58 +0000 (09:43 +0000)]
Added sheet variable transformation to stock start value (fixes #3790)

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

12 years agoEnumeration definition to multiple variables at the same time (fixes #2921)
lempinen [Wed, 21 Nov 2012 09:05:54 +0000 (09:05 +0000)]
Enumeration definition to multiple variables at the same time (fixes #2921)

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

12 years agorefs #3511
lempinen [Tue, 20 Nov 2012 11:07:08 +0000 (11:07 +0000)]
refs #3511

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

12 years agoNew method for changing model init values without compiling the model:
lempinen [Thu, 25 Oct 2012 06:41:15 +0000 (06:41 +0000)]
New method for changing model init values without compiling the model:

1. A full .mo file is created from the model, containing all required class definitions
2. Simulation files are created from the full model .mo (including init.xml)
3. Variables of the old init.xml are replaced with variables from the new init.xml

In addition, spreadsheet cell values can also be changed without having to recompile the model

(refs #3811)

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

12 years agorefs #3805
luukkainen [Tue, 23 Oct 2012 13:44:50 +0000 (13:44 +0000)]
refs #3805

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

12 years agoRemoved duplicate initialization and added a check to setting the value of time varia...
lempinen [Tue, 23 Oct 2012 07:15:04 +0000 (07:15 +0000)]
Removed duplicate initialization and added a check to setting the value of time variable. Time variable is added only in sysdyn. (fixes #3803)

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

12 years agoignore .sdf (refs #3803)
lempinen [Tue, 23 Oct 2012 07:00:49 +0000 (07:00 +0000)]
ignore .sdf (refs #3803)

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

12 years agoissue decorations null check (refs #3789)
lempinen [Mon, 22 Oct 2012 11:34:03 +0000 (11:34 +0000)]
issue decorations null check (refs #3789)

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

12 years agoWorkbenchSelectionElement in nodeType (refs #3799)
lempinen [Mon, 22 Oct 2012 11:23:23 +0000 (11:23 +0000)]
WorkbenchSelectionElement in nodeType (refs #3799)

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

12 years ago* Optimized simulation result read: All results are still read from file in one chunk...
miettinen [Fri, 19 Oct 2012 10:29:43 +0000 (10:29 +0000)]
* Optimized simulation result read: All results are still read from file in one chunk, but are processed further (made into recordings) only upon request. (refs #3709)
* The Save result button makes recordings out of all variables that not yet have those.
* Save result is run in its own job.
* A few null-checks added.

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

12 years agoAdded a null check to selection processor. (fixes #3796)
lempinen [Fri, 19 Oct 2012 07:31:15 +0000 (07:31 +0000)]
Added a null check to selection processor. (fixes #3796)

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

12 years agoissue decorations to old sysdyn model browser (fixes #3789)
lempinen [Wed, 17 Oct 2012 09:29:17 +0000 (09:29 +0000)]
issue decorations to old sysdyn model browser (fixes #3789)

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

12 years agoAdded batch validation to import process. The imported model is validated after impor...
lempinen [Tue, 16 Oct 2012 11:48:51 +0000 (11:48 +0000)]
Added batch validation to import process. The imported model is validated after import. Other issue-issues were fixed when import was not allowed to write to immutable resources #3785 (fixes #3017)

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

12 years agoImmutable resources were modified during import (refs #3785)
lempinen [Tue, 16 Oct 2012 10:16:33 +0000 (10:16 +0000)]
Immutable resources were modified during import (refs #3785)

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

12 years agoBetter issues. Added new issue types and remove issue sources from module types....
lempinen [Mon, 15 Oct 2012 12:31:49 +0000 (12:31 +0000)]
Better issues. Added new issue types and remove issue sources from module types. (refs #3017)

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

12 years ago* Fixing ctrl+space problem in text feed assist (refs #3697)
miettinen [Mon, 15 Oct 2012 10:39:00 +0000 (10:39 +0000)]
* Fixing ctrl+space problem in text feed assist (refs #3697)
* When the selection is chosen in text feed assist box with enter, the equation validation is run.

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

12 years agoChanged sysdyn result reader to buffered reader. Removed line counting of result...
miettinen [Mon, 15 Oct 2012 07:23:14 +0000 (07:23 +0000)]
Changed sysdyn result reader to buffered reader. Removed line counting of result file for .mat files. (refs #3699)

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

12 years agoIgnored .suo and .user files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:34:58 +0000 (06:34 +0000)]
Ignored .suo and .user files. (refs #3777)

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

12 years agoIgnored and deleted several unnecessary files. (refs #3777)
lempinen [Fri, 12 Oct 2012 06:29:27 +0000 (06:29 +0000)]
Ignored and deleted several unnecessary files. (refs #3777)

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

12 years agoValves are recognized in dependencies view to affect Stocks. (fixes #3707)
lempinen [Thu, 11 Oct 2012 09:52:25 +0000 (09:52 +0000)]
Valves are recognized in dependencies view to affect Stocks. (fixes #3707)

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

12 years agoChanged RelatedOrderedSetElementsAccessor to return an empty list if the Element...
lempinen [Thu, 11 Oct 2012 06:38:02 +0000 (06:38 +0000)]
Changed RelatedOrderedSetElementsAccessor to return an empty list if the Element has no statements (i.e. it has been removed). (fixes #3771)

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

12 years agoFixed plugin name reference (refs #3763)
lempinen [Wed, 10 Oct 2012 11:42:29 +0000 (11:42 +0000)]
Fixed plugin name reference (refs #3763)

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

12 years agoEnumeration issue source for checking that an enumeration is not empty (refs #3048)
lempinen [Wed, 10 Oct 2012 10:32:47 +0000 (10:32 +0000)]
Enumeration issue source for checking that an enumeration is not empty (refs #3048)

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

12 years agoChanged the location of FMU JNI control (refs #3763)
lempinen [Wed, 10 Oct 2012 10:29:45 +0000 (10:29 +0000)]
Changed the location of FMU JNI control (refs #3763)

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

12 years agoRemoved fmu handling from modelica plugins (refs #3763)
lempinen [Wed, 10 Oct 2012 10:26:28 +0000 (10:26 +0000)]
Removed fmu handling from modelica plugins (refs #3763)

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