PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
SystemModeler Link
>
WOLFRAM SYSTEMMODELER LINK PACKAGE SYMBOL
WSMInitialValues
WSMSimulate
WSMSimulateSensitivity
WSMInputFunctions
See Also »
|
SystemModeler Link
More About »
WSMParameterValues
is an option for
WSMSimulate
and
WSMSimulateSensitivity
that specifies values for parameters.
MORE INFORMATION
Setting
sets parameters
to
in the simulation.
Using
does not recompile the model.
Setting
runs simulations in parallel, with
taking values
.
EXAMPLES
CLOSE ALL
Basic Examples
(3)
Load Wolfram
SystemModeler Link
:
Simulate with default parameters:
Change the offset to
:
Simulate with a range of parameters:
Vary the part of the momentum that is transferred to the next ball in the cradle:
The angles of the first and last ball in the cradle for different parameters:
Load Wolfram
SystemModeler Link
:
In[1]:=
Simulate with default parameters:
In[1]:=
In[2]:=
In[3]:=
Out[3]=
Change the offset to
:
In[4]:=
In[5]:=
Out[5]=
Simulate with a range of parameters:
In[1]:=
Vary the part of the momentum that is transferred to the next ball in the cradle:
In[2]:=
The angles of the first and last ball in the cradle for different parameters:
In[3]:=
Out[3]=
Scope
(5)
is used to set values for parameters in simulation:
can be used together with
WSMInitialValues
:
If a list is given for
, multiple simulations are run in parallel:
Sweeps with multiple parameters changing can be done with lists of equal length:
Simulate all combinations of a parameter and an initial value:
Generalizations & Extensions
(2)
can also be given as list pairs:
Parameters can also be given on the form returned from
WSMModelData
:
Applications
(1)
Study a pendulum model:
A real pendulum with length 10 and starting angle
is measured to follow this function:
Simulate for a range of different gravitational constants:
Save the angles of the pendulum in the simulations:
Define a difference function:
The constant 9.82 is closest, so reiterate around that point:
A gravitational constant of 9.82 is closest to the measured one:
Properties & Relations
(1)
Initial values for variables can be set with the
WSMInitialValues
option:
SEE ALSO
WSMInitialValues
WSMSimulate
WSMSimulateSensitivity
WSMInputFunctions
MORE ABOUT
SystemModeler Link