Topic RSS
Simulation xml configuration
March 12, 2015
8:28, EET
8:28, EET
Liam.Callagher
New Member
Members
Forum Posts: 2
Member Since:
March 12, 2015
March 12, 2015
Offline
March 12, 2015
10:19, EET
10:19, EET
Jouni Aro
Moderator
Moderators
Forum Posts: 1026
Member Since:
December 21, 2011
December 21, 2011
Offline
January 9, 2019
17:22, EET
17:22, EET
hm62
Member
Members
Forum Posts: 4
Member Since:
November 14, 2017
November 14, 2017
Offline
January 11, 2019
17:14, EET
17:14, EET
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
April 3, 2012
Offline
Hi,
It should be next to the settings.xml in /.prosys/SimulationServer/simulation.xml.
It should look e.g. like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<SimulationConfig>
<CounterNode name="Counter1" minValue="0" maxValue="100" changeAmount="1" direction="UP" dataType="SIGNED_INTEGER" simOffset="0"/>
<ExpressionNode name="Expression1" expression="a+b+2">
<links>
<link nodeName="Sinusoid1" variableName="a"/>
<link nodeName="Sawtooth1" variableName="b"/>
</links>
</ExpressionNode>
<RandomNode name="Random1"/>
<WaveNode name="Sinusoid1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="a*sin((2*Pi/p)*(t+to))+vo"/>
<WaveNode name="Square1" amplitude="2.0" period="8.0" timeOffset="0.0" valueOffset="0.0" expression="a*sign(sin((2*Pi/p)*(t+to)))+vo"/>
<WaveNode name="Sawtooth1" amplitude="2.0" period="10.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*(((t+to)/p)-floor(0.5+(t+to)/p))+vo"/>
<WaveNode name="Triangle1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*asin(sin((2*Pi/p)*(t+to)))/Pi + vo"/>
</SimulationConfig>
<SimulationConfig>
<CounterNode name="Counter1" minValue="0" maxValue="100" changeAmount="1" direction="UP" dataType="SIGNED_INTEGER" simOffset="0"/>
<ExpressionNode name="Expression1" expression="a+b+2">
<links>
<link nodeName="Sinusoid1" variableName="a"/>
<link nodeName="Sawtooth1" variableName="b"/>
</links>
</ExpressionNode>
<RandomNode name="Random1"/>
<WaveNode name="Sinusoid1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="a*sin((2*Pi/p)*(t+to))+vo"/>
<WaveNode name="Square1" amplitude="2.0" period="8.0" timeOffset="0.0" valueOffset="0.0" expression="a*sign(sin((2*Pi/p)*(t+to)))+vo"/>
<WaveNode name="Sawtooth1" amplitude="2.0" period="10.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*(((t+to)/p)-floor(0.5+(t+to)/p))+vo"/>
<WaveNode name="Triangle1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*asin(sin((2*Pi/p)*(t+to)))/Pi + vo"/>
</SimulationConfig>
Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 728
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1529
Posts: 6471
Newest Members:
ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart, caitlynfajardo, jeromechubb7Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0
Administrators: admin: 1