Wolfram SystemModeler in the cloud
Integration with Wolfram Language

Malte Lenz, Wolfram Research (MathCore)

Join the Conversation #WolframTechConf

Contents

Introduction

SystemModeler Simulations in the Wolfram Language

Simulations in the Wolfram Cloud

Deployed models for easy consumption

Introduction

This is a preview - nothing is final

Expect crashes

Feedback is welcome

SystemModeler Simulations in Wolfram Language

Sample workflow

Graph[Range[4],Table[i->i+1,{i,3}],VertexSize->{.6,.1},VertexLabels->(Rule[#1,Placed[Style[#2,FontSize->11],Center]]&@@@Transpose[{Range[4],{"Alice buys SystemModeler","Alice creates cool model","Bob buys SystemModeler","Bob compares scenarios in Mathematica"}}]),VertexShapeFunction->"Square",ImageSize->600,VertexCoordinates->Table[{i/2,-i/3},{i,4}],EdgeStyle->Directive[bcolor,Arrowheads[{{.05,.65}}]],VertexStyle->{1->acolor,2->acolor,3->acolor,4->acolor}]

SystemModeler Simulations in Wolfram Language

Currently available

Mathematica package shipped with SystemModeler

Full SystemModeler installation and license to do simulation and analysis in Mathematica

Planned

SystemModeler simulations and analysis a builtin part of the Wolfram Language

Deeper integration

Anyone with Mathematica can simulate models

SystemModeler Simulations in Wolfram Language

Improved workflow

Graph[Range[4],Table[i->i+1,{i,3}],VertexSize->{.6,.1},VertexLabels->(Rule[#1,Placed[Style[#2[[2]],Opacity[#2[[1]]],FontSize->11],Center]]&@@@Transpose[{Range[4],{{1,"Alice buys SystemModeler"},{1,"Alice creates cool model"},{0.1,"Bob buys SystemModeler"},{1,"Bob compares scenarios in Mathematica"}}}]),VertexShapeFunction->"Square",ImageSize->600,VertexCoordinates->Table[{i/2,-i/3},{i,4}],EdgeStyle->Directive[bcolor,Arrowheads[{{.05,.65}}]],VertexStyle->{1->acolor,2->acolor,3->Directive[EdgeForm[None],Opacity[0.1],acolor],4->acolor}]

Simulations in the Wolfram Cloud™

Integration with Wolfram Language => Available in Wolfram Cloud products

Apart from security details and infrastructure adaptions

Available in Cloud Notebooks

Opens up access to SystemModeler simulations from all devices

Simulations in the Wolfram Cloud

Graph[Range[5],Join[Table[i->i+1,{i,3}],{2->5,4->5}],VertexSize->{.6,.1},VertexLabels->(Rule[#1,Placed[Style[#2[[2]],Opacity[#2[[1]]],FontSize->11],Center]]&@@@Transpose[{Range[5],{{1,"Alice buys SystemModeler"},{1,"Alice creates cool model"},{0.1,"Bob buys SystemModeler"},{1,"Bob compares scenarios in Mathematica"},{1,"Carol runs scenarios in Wolfram Cloud"}}}]),VertexShapeFunction->"Square",ImageSize->600,VertexCoordinates->Append[Table[{i/2,-i/3},{i,4}],{1/2,-4/3}],EdgeStyle->Directive[bcolor,Arrowheads[{{.05,.65}}]],VertexStyle->{1->acolor,2->acolor,3->Directive[EdgeForm[None],Opacity[0.1],acolor],4->acolor,5->ccolor}]

Simulations in the Wolfram Cloud

Live demo?

SystemOpen[FileNameJoin[{NotebookDirectory[],"Index.html"}]]

Simulations in the Wolfram Cloud

Simulations in the Wolfram Cloud

Simulations in the Wolfram Cloud

Deployed models in Cloud

Availability in the cloud infrastructure makes a lot of things possible, such as:

Create a simulation API

Instantly share your work with other users

Embed simulations in webpages

Deploy interactive simulations on the web

Deployed models in Cloud

Graph[Range[6],Join[Table[i->i+1,{i,3}],{2->5,4->5,2->6,4->6,5->6}],VertexSize->{.6,.1},VertexLabels->(Rule[#1,Placed[Style[#2[[2]],Opacity[#2[[1]]],FontSize->11],Center]]&@@@Transpose[{Range[6],{{1,"Alice buys SystemModeler"},{1,"Alice creates cool model"},{0.1,"Bob buys SystemModeler"},{1,"Bob compares scenarios in Mathematica"},{1,"Carol runs scenarios in Wolfram Cloud"},{1,"Dan checks final scenario on his phone"}}}]),VertexShapeFunction->"Square",ImageSize->600,VertexCoordinates->Join[Table[{i/2,-i/3},{i,4}],{{1/2,-4/3},{2/2,-5/3}}],EdgeStyle->Directive[bcolor,Arrowheads[{{.05,.65}}]],VertexStyle->{1->acolor,2->acolor,3->Directive[EdgeForm[None],Opacity[0.1],acolor],4->acolor,5->ccolor,6->bcolor}]

Deployed models in Cloud

Live demo?

Deployed models in Cloud

Deployed models in Cloud

Deployed models in Cloud

Deployed models in Cloud

Thanks for listening!

Questions?

maltel@wolfram.com

Initialization

acolor=RGBColor["#83b5e9"];
bcolor=RGBColor["#ff8900"];
ccolor=RGBColor["#44a547"];