]> gerrit.simantics Code Review - simantics/sysdyn.git/log
simantics/sysdyn.git
11 years agoExport model and export model as... buttons to Sysdyn (refs #4487).
miettinen [Fri, 25 Oct 2013 06:25:53 +0000 (06:25 +0000)]
Export model and export model as... buttons to Sysdyn (refs #4487).

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

11 years agoAdd a special "time" variable to the solver that always refers to the current simulat...
jkauttio [Thu, 24 Oct 2013 12:30:56 +0000 (12:30 +0000)]
Add a special "time" variable to the solver that always refers to the current simulation time.

refs #4488

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

11 years agoFixed history datasets when variable has spaces
lempinen [Thu, 24 Oct 2013 11:44:14 +0000 (11:44 +0000)]
Fixed history datasets when variable has spaces

refs #4494

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

11 years agoFixed history datasets to display values in the case where dataset contains "Variable...
lempinen [Thu, 24 Oct 2013 11:28:55 +0000 (11:28 +0000)]
Fixed history datasets to display values in the case where dataset contains "Variable" and system asks for "Module1.Variable". First try to find the exact, but if not found, try from the last "." forward. In "Variable" case it would eventually find the correct variable.
refs #4494

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

11 years agoUse integers instead of doubles as array indices in printed multidimensional variable...
jkauttio [Thu, 24 Oct 2013 10:40:55 +0000 (10:40 +0000)]
Use integers instead of doubles as array indices in printed multidimensional variable names, and also include parameter values in simulation results.

refs #4488

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

11 years agorefs #4488
jkauttio [Thu, 24 Oct 2013 07:23:19 +0000 (07:23 +0000)]
refs #4488

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

11 years agoShare project "fi.semantum.sysdyn.solver" into "https://www.simantics.org/svn/simantics"
jkauttio [Thu, 24 Oct 2013 07:22:56 +0000 (07:22 +0000)]
Share project "fi.semantum.sysdyn.solver" into "https://www.simantics.org/svn/simantics"

refs #4488

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

11 years agoUnit validation for whitespaced variable names
lempinen [Thu, 24 Oct 2013 07:04:13 +0000 (07:04 +0000)]
Unit validation for whitespaced variable names
fixes #4424

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

11 years agoAdd experimental support for the new solver, which can be enabled by setting an optio...
jkauttio [Thu, 24 Oct 2013 06:51:40 +0000 (06:51 +0000)]
Add experimental support for the new solver, which can be enabled by setting an option in the preferences and reloading the experiment.

It should be noted that most of the experiment framework is reworked (and refactored) to remove references to openmodelica and provide support for the new solver. This means that the new experiment framework does not yet have all the features of the old experiment framework, and some of the existing features might not work as expected if the experimental solver support is enabled in the preferences.

refs #4488

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

11 years agoSearch Service
luukkainen [Wed, 23 Oct 2013 11:52:08 +0000 (11:52 +0000)]
Search Service

fixes #4493

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

11 years agoScl.commands prevented sysdyn diagram modifications, since sysdyn connections do...
lempinen [Wed, 23 Oct 2013 07:27:16 +0000 (07:27 +0000)]
Scl.commands prevented sysdyn diagram modifications, since sysdyn connections do not yet have names.

Workaround: Display error once, so that it is not forgotten, but then carry on modifying the diagram.

Added names for future sysdyn connections. The workaround is needed to support old models.

refs #4480

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

11 years agoSearch Results as columns and rows.
luukkainen [Mon, 21 Oct 2013 12:57:12 +0000 (12:57 +0000)]
Search Results as columns and rows.

refs #4475

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

11 years agoFiltering search engines
luukkainen [Thu, 17 Oct 2013 12:07:04 +0000 (12:07 +0000)]
Filtering search engines

refs #4452

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

11 years agoHard-coded search options
luukkainen [Thu, 17 Oct 2013 09:09:06 +0000 (09:09 +0000)]
Hard-coded search options

refs #4452

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

11 years agoIntroduced SearchQuery object, which holds search related parameters
luukkainen [Wed, 16 Oct 2013 10:49:45 +0000 (10:49 +0000)]
Introduced SearchQuery object, which holds search related parameters
Fixed empty results handling

refs #4452

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

11 years agoStock initial equation with spaces fix (refs #4468).
miettinen [Mon, 14 Oct 2013 11:00:31 +0000 (11:00 +0000)]
Stock initial equation with spaces fix (refs #4468).

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

11 years agoFix to different tab sizes, generated classes (refs #4448).
miettinen [Tue, 1 Oct 2013 06:25:37 +0000 (06:25 +0000)]
Fix to different tab sizes, generated classes (refs #4448).

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

11 years agoAutomatic renaming Sysdyn variables with whitespace in equations. (refs #2930)
miettinen [Tue, 1 Oct 2013 06:24:33 +0000 (06:24 +0000)]
Automatic renaming Sysdyn variables with whitespace in equations. (refs #2930)
Fix to different tab sizes (refs #4448).

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

11 years agoFix to compile.
villberg [Fri, 27 Sep 2013 05:54:41 +0000 (05:54 +0000)]
Fix to compile.
refs #3552

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

11 years agoSearch functions are contributed with ontologies.
luukkainen [Thu, 26 Sep 2013 14:42:28 +0000 (14:42 +0000)]
Search functions are contributed with ontologies.

refs #4447

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

11 years agoVary whitespaced variables in sensitivity analysis (refs #4441).
miettinen [Thu, 26 Sep 2013 10:44:22 +0000 (10:44 +0000)]
Vary whitespaced variables in sensitivity analysis (refs #4441).

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

11 years agoFixed: Charts work with Sysdyn variables which have spaces in their names (refs ...
miettinen [Thu, 26 Sep 2013 10:16:38 +0000 (10:16 +0000)]
Fixed: Charts work with Sysdyn variables which have spaces in their names (refs #4422).

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

11 years agoAllow preference page to work without builtin OMC
luukkainen [Thu, 26 Sep 2013 10:07:16 +0000 (10:07 +0000)]
Allow preference page to work without builtin OMC

fixes #4446

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

11 years agoSysdyn variable names with space characters allowed, added the corresponding compiled...
miettinen [Thu, 26 Sep 2013 08:57:29 +0000 (08:57 +0000)]
Sysdyn variable names with space characters allowed, added the corresponding compiled JavaCC result files (refs #2930).

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

11 years agoSysdyn variable names with space characters allowed (refs #2930 #4426 #3944 #4265).
miettinen [Thu, 26 Sep 2013 08:53:45 +0000 (08:53 +0000)]
Sysdyn variable names with space characters allowed (refs #2930 #4426 #3944 #4265).
Still lacks a few fundamental properties.

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

11 years agoInitial implementation of generic variable framework with solver variables
villberg [Thu, 19 Sep 2013 07:06:14 +0000 (07:06 +0000)]
Initial implementation of generic variable framework with solver variables
refs #4417

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

11 years agoCtrl+F search to Sysdyn (refs #2873).
miettinen [Fri, 13 Sep 2013 12:56:08 +0000 (12:56 +0000)]
Ctrl+F search to Sysdyn (refs #2873).
Changed some visibility definitions of Simantics ssarch to allow inheriting SearchTrim.

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

11 years agoFix
villberg [Mon, 9 Sep 2013 06:38:29 +0000 (06:38 +0000)]
Fix
refs #3552

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

11 years agoSave sensitivity analysis results (refs #4243).
miettinen [Fri, 30 Aug 2013 05:41:24 +0000 (05:41 +0000)]
Save sensitivity analysis results (refs #4243).
A few little fixes.

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

11 years agoThe default Modelica solver set to the bundled one in Windows (refs #4401).
miettinen [Fri, 23 Aug 2013 09:59:36 +0000 (09:59 +0000)]
The default Modelica solver set to the bundled one in Windows (refs #4401).
Print to the Sysdyn console which solver is used when simulating.
Some little fixes, too.

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

11 years agoFiltering Sysdyn search results (refs #3966).
miettinen [Thu, 22 Aug 2013 11:36:08 +0000 (11:36 +0000)]
Filtering Sysdyn search results (refs #3966).
Increased the max number of search results to 50000 (refs #4400).

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

11 years agoLinks in Sysdyn search show the component on the diagram (refs #3966). Commented...
miettinen [Thu, 22 Aug 2013 05:06:10 +0000 (05:06 +0000)]
Links in Sysdyn search show the component on the diagram (refs #3966). Commented out the ConsumeUnnecessaryEntersAction.

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

11 years agoNew graph compiler -generated Resource classes committed where getInstance(Session...
lehtonen [Wed, 21 Aug 2013 11:07:56 +0000 (11:07 +0000)]
New graph compiler -generated Resource classes committed where getInstance(Session) has changed to getInstance(RequestProcessor).
Please update your graph compilers to 1.1.13.201308191458.

refs #4393

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

11 years agoReducing temporary AWT-thread lock-ups.
luukkainen [Fri, 9 Aug 2013 13:33:06 +0000 (13:33 +0000)]
Reducing temporary AWT-thread lock-ups.

refs #4387

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

11 years agoSorting and icons in Sysdyn model browser
villberg [Thu, 18 Jul 2013 07:05:09 +0000 (07:05 +0000)]
Sorting and icons in Sysdyn model browser
refs #3552

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

11 years agoRemove non-functional selectors from Sysdyn model browser
villberg [Thu, 18 Jul 2013 07:04:27 +0000 (07:04 +0000)]
Remove non-functional selectors from Sysdyn model browser
refs #3552

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

11 years agoEmpty FMU would be created and system would crash.
villberg [Mon, 15 Jul 2013 12:05:16 +0000 (12:05 +0000)]
Empty FMU would be created and system would crash.
refs #3552

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

11 years agorefs #3552
villberg [Mon, 15 Jul 2013 06:03:33 +0000 (06:03 +0000)]
refs #3552

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

11 years agoAdded importModel function to Sysdyn SCL module.
lehtonen [Fri, 12 Jul 2013 17:41:45 +0000 (17:41 +0000)]
Added importModel function to Sysdyn SCL module.
refs #3511

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

11 years agoSimupedia! (refs #3511)
lempinen [Fri, 12 Jul 2013 13:57:06 +0000 (13:57 +0000)]
Simupedia! (refs #3511)

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

11 years agoDocumentation utils (refs #3511)
lempinen [Wed, 10 Jul 2013 12:50:48 +0000 (12:50 +0000)]
Documentation utils (refs #3511)

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

11 years agoRemoved unnecessary print from fmu simulator (refs #3398)
lempinen [Wed, 10 Jul 2013 12:43:13 +0000 (12:43 +0000)]
Removed unnecessary print from fmu simulator (refs #3398)

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

11 years agoDocumentation stuff: Documentation texts for variables, modules and all (refs #3511)
lempinen [Fri, 5 Jul 2013 13:30:15 +0000 (13:30 +0000)]
Documentation stuff: Documentation texts for variables, modules and all (refs #3511)

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

11 years agoDisplay chart ranges in withlookup expression tabs (fixes #4379)
lempinen [Fri, 5 Jul 2013 13:25:49 +0000 (13:25 +0000)]
Display chart ranges in withlookup expression tabs (fixes #4379)

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

11 years agoFixed workbench search to work better with multiple active models, as in Sysdyn.
lehtonen [Fri, 5 Jul 2013 13:01:40 +0000 (13:01 +0000)]
Fixed workbench search to work better with multiple active models, as in Sysdyn.
refs #3966

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

11 years agoSearchTrim function to collect search results from multiple SearchResults (refs ...
miettinen [Fri, 5 Jul 2013 11:45:13 +0000 (11:45 +0000)]
SearchTrim function to collect search results from multiple SearchResults (refs #3966).

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

11 years agoInitial search feature for Sysdyn (refs #3966).
miettinen [Fri, 5 Jul 2013 10:53:32 +0000 (10:53 +0000)]
Initial search feature for Sysdyn (refs #3966).

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

11 years agofixes #4377
luukkainen [Fri, 5 Jul 2013 09:58:53 +0000 (09:58 +0000)]
fixes #4377

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

11 years agoAdded interface for different parameter value generators for sensitivity analysis.
miettinen [Wed, 3 Jul 2013 12:23:10 +0000 (12:23 +0000)]
Added interface for different parameter value generators for sensitivity analysis.
Implemented Halton sequence generator.
(refs #4365)

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

11 years agoGroup titles were wrong
luukkainen [Wed, 3 Jul 2013 11:26:39 +0000 (11:26 +0000)]
Group titles were wrong

refs #4373

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

11 years agoUpdating the filter did not fire change event.
luukkainen [Wed, 3 Jul 2013 09:55:51 +0000 (09:55 +0000)]
Updating the filter did not fire change event.

refs #4373

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

11 years agoAbility to configure contents of property tabs
luukkainen [Wed, 3 Jul 2013 07:32:28 +0000 (07:32 +0000)]
Ability to configure contents of property tabs

refs #4373

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

11 years agoIssues view link (refs #4372)
miettinen [Wed, 3 Jul 2013 06:03:29 +0000 (06:03 +0000)]
Issues view link (refs #4372)

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

11 years agoRenaming variables, enumerations, and modules in model browser (refs #4152).
miettinen [Wed, 3 Jul 2013 05:40:13 +0000 (05:40 +0000)]
Renaming variables, enumerations, and modules in model browser (refs #4152).

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

11 years agorefs #4373
luukkainen [Tue, 2 Jul 2013 14:09:07 +0000 (14:09 +0000)]
refs #4373

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

11 years agorefs #4373
luukkainen [Tue, 2 Jul 2013 13:50:48 +0000 (13:50 +0000)]
refs #4373

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

11 years agoCreated methods for getting readable documentation definitions from variables and...
lempinen [Tue, 2 Jul 2013 11:26:11 +0000 (11:26 +0000)]
Created methods for getting readable documentation definitions from variables and expressions (refs #3906)

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

11 years agoImproved the sensitivity analysis property view so that the buttons and are shown...
miettinen [Tue, 2 Jul 2013 05:18:22 +0000 (05:18 +0000)]
Improved the sensitivity analysis property view so that the buttons and are shown without scrolling by default (refs #4334).

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

11 years agoIn sensitivity runs, add the index of run to the charts. This makes it (somewhat...
miettinen [Fri, 28 Jun 2013 11:58:49 +0000 (11:58 +0000)]
In sensitivity runs, add the index of run to the charts. This makes it (somewhat) easier to see which parameter combinations yield which results, and it also solves the problem of auto zoom of the range axis of a chart (refs #4332).
In sensitivity analysis with many individual runs, do not update the datasets to charts in each iteration (total number of updates currently limited to 20).

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

11 years agoBugfix. (refs #4238)
miettinen [Thu, 27 Jun 2013 11:14:58 +0000 (11:14 +0000)]
Bugfix. (refs #4238)

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

11 years agoMultiple varied parameters to sensitivity analysis. (refs #4238)
miettinen [Thu, 27 Jun 2013 10:27:35 +0000 (10:27 +0000)]
Multiple varied parameters to sensitivity analysis. (refs #4238)
Now the parameters are defined outside of the distributions. This allows firstly to randomize the parameter values for each run so that no parameter values repeat between individual runs. Secondly this enables using more sophisticated techniques of selecting the sequence of parameter sets (not yet implemented).

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

11 years agoMoving utils around (refs #3511)
lempinen [Tue, 25 Jun 2013 09:57:39 +0000 (09:57 +0000)]
Moving utils around (refs #3511)

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

11 years agoInstall shield files for making sysdyn setup.
kondelin [Thu, 20 Jun 2013 16:07:27 +0000 (16:07 +0000)]
Install shield files for making sysdyn setup.
With these and IS 2011 you can make setup.
refs #4354

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

11 years agoProcedural structural (refs #3511)
lempinen [Tue, 18 Jun 2013 13:14:17 +0000 (13:14 +0000)]
Procedural structural (refs #3511)

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

11 years agoProcedural structures (refs #3511)
lempinen [Mon, 17 Jun 2013 12:32:17 +0000 (12:32 +0000)]
Procedural structures (refs #3511)

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

11 years agoAdded "<Write variable name>" as a default name for new sensitivity parameters to...
miettinen [Mon, 17 Jun 2013 09:38:04 +0000 (09:38 +0000)]
Added "<Write variable name>" as a default name for new sensitivity parameters to help with the sensitivity experiment content assist enter problem. (refs #4331)

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

11 years agoAdded support for exporting JFreeChart charts as SVG (fixes #4344)
lempinen [Fri, 14 Jun 2013 07:46:27 +0000 (07:46 +0000)]
Added support for exporting JFreeChart charts as SVG (fixes #4344)

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

11 years agoTrend view could not be reopened. Got rid of anonymous inner class listeners and...
lempinen [Fri, 14 Jun 2013 07:43:38 +0000 (07:43 +0000)]
Trend view could not be reopened. Got rid of anonymous inner class listeners and static variables -> nicer and working code (fixes #4335)

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

11 years ago* Propose and allow only parameters for sensitivity analysis simulation. (refs #4319)
miettinen [Fri, 14 Jun 2013 05:15:50 +0000 (05:15 +0000)]
* Propose and allow only parameters for sensitivity analysis simulation. (refs #4319)
* Rainbow icon to sensitivity chart (refs #4340)

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

11 years agoFixed a bug that caused unit validation warnings for stocks inside modules: Provide...
lempinen [Thu, 13 Jun 2013 13:06:17 +0000 (13:06 +0000)]
Fixed a bug that caused unit validation warnings for stocks inside modules: Provide time unit data into modules (fixes #4341)

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

11 years agoRemove under right mouse button for AbstractChart (refs #4330).
miettinen [Wed, 12 Jun 2013 07:27:26 +0000 (07:27 +0000)]
Remove under right mouse button for AbstractChart (refs #4330).
Bugfix for removing line and sensitivity charts.

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

11 years agoTime as the default x-axis in line and sensitivity charts (refs #4323).
miettinen [Wed, 12 Jun 2013 06:12:17 +0000 (06:12 +0000)]
Time as the default x-axis in line and sensitivity charts (refs #4323).

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

11 years agoEstimating (linearly) the confidence limits in sensitivity analysis fan charts (refs...
miettinen [Tue, 11 Jun 2013 11:58:55 +0000 (11:58 +0000)]
Estimating (linearly) the confidence limits in sensitivity analysis fan charts (refs #4324).

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

11 years agoUpdate sensitivity chart each time a new result file is read to avoid possibly missin...
miettinen [Tue, 11 Jun 2013 07:33:09 +0000 (07:33 +0000)]
Update sensitivity chart each time a new result file is read to avoid possibly missing some of the last results (refs #4326).

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

11 years agoFixed a typo in node imager. Now the image for sensitivity analysis experiment is...
lempinen [Thu, 6 Jun 2013 11:00:23 +0000 (11:00 +0000)]
Fixed a typo in node imager. Now the image for sensitivity analysis experiment is written correctly. (fixes #4318)

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

11 years agoChanges in PossibleActiveVariableFromVariable prevented Sysdyn from finding active...
lempinen [Thu, 6 Jun 2013 10:48:49 +0000 (10:48 +0000)]
Changes in PossibleActiveVariableFromVariable prevented Sysdyn from finding active results for model browser selections. Added <T RVIContext to Sysdyn.Configuration. (fixes #4317)

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

11 years agoChart editor that displays a chart when it is double-clicked on model browser (fixes...
lempinen [Thu, 6 Jun 2013 09:33:02 +0000 (09:33 +0000)]
Chart editor that displays a chart when it is double-clicked on model browser (fixes #4198)

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

11 years agoSensitivityAnalysisExperimentTab displays information of the first parameter when...
lempinen [Thu, 6 Jun 2013 07:58:43 +0000 (07:58 +0000)]
SensitivityAnalysisExperimentTab displays information of the first parameter when the view is initialized (fixes #4309)

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

11 years agoValidate units of lookup tables (fixes #4316)
lempinen [Thu, 6 Jun 2013 06:20:17 +0000 (06:20 +0000)]
Validate units of lookup tables (fixes #4316)

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

11 years agoUnit validation for stock integrals (fixes #4306)
lempinen [Thu, 6 Jun 2013 06:16:02 +0000 (06:16 +0000)]
Unit validation for stock integrals (fixes #4306)

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

11 years agoDo not display unit warnings for clouds (fixes #4307)
lempinen [Thu, 6 Jun 2013 06:15:24 +0000 (06:15 +0000)]
Do not display unit warnings for clouds (fixes #4307)

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

11 years agoMoved some import and result handling from sysdyn.ui to sysdyn (fixes #4314)
lempinen [Thu, 6 Jun 2013 05:34:04 +0000 (05:34 +0000)]
Moved some import and result handling from sysdyn.ui to sysdyn (fixes #4314)

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

11 years agoSensitivity analysis with a better configuration UI. The UI is not perfect, but enabl...
lempinen [Wed, 22 May 2013 11:31:52 +0000 (11:31 +0000)]
Sensitivity analysis with a better configuration UI. The UI is not perfect, but enables defining variables, indexes and distributions. Multiple parameters are supported. (refs #4239)

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

11 years agoRemoved diffing full model texts to find out if parameters have changed. The operatio...
lempinen [Fri, 17 May 2013 10:11:11 +0000 (10:11 +0000)]
Removed diffing full model texts to find out if parameters have changed. The operation took 0 ms, but I got rid of it anyway. Now SysdynModel has a good tool to inspect changes in the model. (refs #3967)

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

11 years agoEliminated the need to build separate full modelica code file for models (OMC versio...
lempinen [Fri, 17 May 2013 09:05:55 +0000 (09:05 +0000)]
Eliminated the need  to build separate full modelica code file for models (OMC version 1.9 ->).

Instead, the experiment creates full modelica structure directly to memory and it is created only once per simulation.

(fixes #3968)

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

11 years agoAdded time property for sysdyn variables. (refs #4280)
lempinen [Fri, 10 May 2013 06:16:13 +0000 (06:16 +0000)]
Added time property for sysdyn variables. (refs #4280)

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

11 years agoAllow shadow variables to provide values (of the original variables) to modules....
lempinen [Tue, 7 May 2013 12:13:46 +0000 (12:13 +0000)]
Allow shadow variables to provide values (of the original variables) to modules. (fixes #4273)

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

11 years agoUnit validation for module interfaces (refs #4268)
lempinen [Mon, 6 May 2013 10:24:16 +0000 (10:24 +0000)]
Unit validation for module interfaces (refs #4268)

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

11 years agoFixed problem where changing unit in variable does not affect unit validation in...
lempinen [Fri, 3 May 2013 11:13:00 +0000 (11:13 +0000)]
Fixed problem where changing unit in variable does not affect unit validation in expressions where the variable is used. (fixes #4269)

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

11 years agoA simple trick for saving experiment configuration values before running simulations...
lempinen [Fri, 3 May 2013 10:13:01 +0000 (10:13 +0000)]
A simple trick for saving experiment configuration values before running simulations if experiment configuration tab is open. The whole tab is wrapped in RemoveFocusBeforeExperimentComposite. HandlerUtil notices this and removes focus from the widget that has focus. This triggers saving the widget's value before simulation is run. (fixes #4242)

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

11 years agoShow all runs of sensitivity analysis on charts (fixes #4237)
lempinen [Fri, 3 May 2013 09:05:07 +0000 (09:05 +0000)]
Show all runs of sensitivity analysis on charts (fixes #4237)

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

11 years agoSensitivityChart configuration widgets: One variable in chart, five possible confiden...
lempinen [Fri, 3 May 2013 08:50:01 +0000 (08:50 +0000)]
SensitivityChart configuration widgets: One variable in chart, five possible confidence bounds. Supports multi and single dimensional variables. (fixes #4237)

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

11 years agoForgotten files for unit parser. (refs #4263)
lempinen [Thu, 2 May 2013 05:13:55 +0000 (05:13 +0000)]
Forgotten files for unit parser. (refs #4263)

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

11 years agoUnit validation for functions (UnitType.Any) and array definitions. (refs #4263)
lempinen [Tue, 30 Apr 2013 07:08:37 +0000 (07:08 +0000)]
Unit validation for functions (UnitType.Any) and array definitions. (refs #4263)

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

11 years agoError management for empty datasets (refs #4237)
lempinen [Tue, 30 Apr 2013 07:06:44 +0000 (07:06 +0000)]
Error management for empty datasets (refs #4237)

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

11 years agorefs #4093
lempinen [Mon, 29 Apr 2013 06:40:40 +0000 (06:40 +0000)]
refs #4093

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

11 years agoGenerated UnitParser files (refs #4093)
lempinen [Mon, 29 Apr 2013 06:37:23 +0000 (06:37 +0000)]
Generated UnitParser files (refs #4093)

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

11 years agoUnit analysis for expressions. (refs #4093)
lempinen [Mon, 29 Apr 2013 06:36:29 +0000 (06:36 +0000)]
Unit analysis for expressions. (refs #4093)

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

11 years agoAdd shadow profiles for imported models (refs #4154)
lempinen [Mon, 22 Apr 2013 06:44:45 +0000 (06:44 +0000)]
Add shadow profiles for imported models (refs #4154)

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

11 years agoUgly but working visualization for shadow variables. (refs #4154)
lempinen [Mon, 15 Apr 2013 12:01:45 +0000 (12:01 +0000)]
Ugly but working visualization for shadow variables. (refs #4154)

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