Changes for page Simulation (KiSim)
Last modified by Richard Kreissig on 2023/09/14 11:07
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -405,34 +405,8 @@ 405 405 406 406 This data handler is only used for easier debugging and setting up simulations for different test runs. It sets the variables in the data pool to constant values, typically once for the simulation in the initialization part of a kisim file. 407 407 408 -(% class="relative-table" %) 409 -|=((( 410 -Attribute 411 -)))|=((( 412 -Domain 413 -)))|=((( 414 -Example 415 -)))|=((( 416 -Description 417 -))) 418 -|((( 419 -variables 420 -)))|((( 421 -Map, The key is the variable name, the value is the value for this variable 422 -)))|((( 423 -configure setter S { 424 - variables { 425 - I: true 426 - O: 5 427 - MyModel.MyVar: -1 428 - } 429 -} 430 -)))|((( 431 -Sets the variables in to the given values. 408 +\\ 432 432 433 -This way different setters can be defined for different simulation runs or manual testing. 434 -))) 435 - 436 436 \\ 437 437 438 438 \\ ... ... @@ -538,25 +538,6 @@ 538 538 } 539 539 {{/code}} 540 540 541 - Sets the variables for manual testing:515 +\\ 542 542 543 -{{code}} 544 -configure sim A { 545 - executable: kieler-gen/sim/bin/Sim_Test.exe 546 -} 547 - 548 -configure setter S { 549 - variables { 550 - x: 100 551 - y: 100 552 - } 553 -} 554 - 555 -initialization { 556 - write setter S 557 -} 558 - 559 -execution { 560 - write sim A 561 -} 562 -{{/code}} 517 +\\
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -332600 221 +33260019 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/332600 22/V2 Simulation1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/33260019/V2 Simulation