www.simupedia.fi bringing power of simulation to the public
TRANSCRIPT
![Page 1: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/1.jpg)
www.simupedia.fi
Bringing power of simulation to the public
![Page 2: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/2.jpg)
About Simupedia Web portal to the simulation system Simantics Bringing the power of simulations to the general public Everyone can create their own model or run existing ones Creating a community for simulation users and
model/solver developers Users can use Simupedia registered or unregistered with
limited access Site administrators has tools for keeping the site organized
![Page 3: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/3.jpg)
About Simupedia
• Simantics editor and player are used to run or edit the models
• There’s a solver(s) for each model• Solvers are running on a different server
![Page 4: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/4.jpg)
Simupedia-application architecture
4
Simupedia uses Java Struts 2 framework which is based on Model-View-Controller 2 (MVC 2) Architecture
In Struts 2 every web page has an own action class, which can be easily tested with JUnit. After action is executed, the actual visualization is done in .jsp pages.
Picture from: http://www.ibm.com/developerworks/webservices/library/ws-arcstruts/
Struts 2 provides also a large amount of functionalities to help web development.
For database access we are using Hibernate and the actual database is MySQL.
![Page 5: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/5.jpg)
Simupedia.fi Infrastructure
Simupedia server
Apache – Web server
Jboss Application Server
Simantics server cluster
Internet
Simupedia Web app
Database
![Page 6: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/6.jpg)
Simupedia Infrastructure
• Simupedia is running on JBoss – Application server
• Using Apache as an frontend provides possibility for easy JBoss clustering with Apache’s loadbalancer
• Currently running on MySql database, but can be ported into any other database because of Hibernate
![Page 7: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/7.jpg)
DEMO
• A demo from a normal user point of view• A demo from an administrator point of view
![Page 8: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/8.jpg)
Results of this Project
Project progressEvaluation of the goals
Evaluation of the qualityUsed resources
Results
![Page 9: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/9.jpg)
Project lifecycle• Planning Phase
– Understanding the domain– Gathering the requirements– Prototyping
• Implementation 1– Actual implementation starts– The plan was to get the public side ready
• Implementation 2– The coding continues– QA had a stronger influence in this iteration
![Page 10: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/10.jpg)
Evaluation of the goal 1
Customer goal 1: ”a youtube-like public simulation site”
Verification criteria: ” Users can run experiments, create new models with model editor, publish the created models and add comments to experiments and models. The system can also be used as a marketing channel by solver developers and for advertisement-space for different companies”
– Project plan, 3.1:Goal 1.
![Page 11: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/11.jpg)
…Evaluation of the goal 1.
• This goal cannot entirely be achieved without the Simantics player and editor
• All the supporting functionalities has been implemented
• We’ve made a player/editor-emulator to prove that our system works
• The system supports an easy advertisement integration to the site via Struts-tiles.
![Page 12: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/12.jpg)
Evaluation of the goal 2
Customer goal 1: ” A professional site build on the public site ”
Verification criteria: ” The system has tools for team working to help the advanced model development and publishing.”
– Project plan, 3.1:Goal 2.
![Page 13: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/13.jpg)
…Evaluation of goal 2.
• Some of the features got implemented but some of them didn’t finish until the deadline.
![Page 14: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/14.jpg)
Evaluation of the quality
• Project size: 14920 loc including xml- and properties-files
• Bugs found: 20– Critical: 2– Major: 16– Minor: 2
• Bugs fixed: 17
![Page 15: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/15.jpg)
Evaluation of the quality
Description Severity
Code execution in form fields critical
out of memory: permGen major
getting a new password via email does not work
Major
Long experiment description/keyword
Minor
![Page 16: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/16.jpg)
Used resourcesDescription Realized Planned Left Joni JP Nina Ville Antti Juha Oleg Ferran
Sum (whole project) 968,9 1199,45 230,55 142,5 160,5 127 136 97,25 101 119,15 84,5
Sum (PP-iteration) 141,5 141,5 0 49 37,5 26 2 10 2 10 4
Sum (Implementation 1) 358,75 358,75 0 36,5 67 47 51,25 37 30,5 55,5 34
Sum (Implementation 2) 468,65 699,2 230,55 57 56 54 82,75 50,25 68,5 53,65 46,5
![Page 17: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/17.jpg)
Used resources
![Page 18: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/18.jpg)
Results
• Simupedia is up and running on address www.simupedia.fi
• Some of the group functionalities didn’t get finished because of the deadline
• Documentation for customer– Technical documentation (how to install, setup
and develop the system)– Javadoc
![Page 19: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/19.jpg)
Work practices & tools
![Page 20: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/20.jpg)
Work Practices
• Weekly coding sessions provided to be useful– The problems can be solved better in a group
• Slicing up the iteration into smaller pieces– Helps you keep your project on time– You can set a theme to a every sprint to
emphasize certain areas of the project
![Page 21: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/21.jpg)
Work Practices
• Risk management– One team member leaves the team– Project manager couldn’t walk nearly for two
months– Simantics integration
– Only the Simantics integration had some impact on this project, but we manage to minimize it with an player/editor-emulator
![Page 22: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/22.jpg)
Development ToolsTool Version
JBoss – Application server 4.2.1.GA
Hibernate 3.2.5GA
Struts2 framework 2.0.9
Ant 1.6.5
Eclipse 3.3.1
Eclipse – Subclipse plug-in 1.2.4
JUnit
Tomcat – Application server 5.x, 6.x
MySQL 5.0.45
![Page 23: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/23.jpg)
Other tools
• IRC• MediaWiki• Email• TRAC
![Page 24: Www.simupedia.fi Bringing power of simulation to the public](https://reader035.vdocuments.net/reader035/viewer/2022062802/56649e9f5503460f94ba1a00/html5/thumbnails/24.jpg)
Thank You.