1.2.1. OpenSeesPy in DesignSafeΒΆ

Follow steps below to run OpenSeesPy in DesignSafe.

Tip

../_images/designsafe.png

Tip

  • Register an account for free and log in
../_images/register.png

Tip

  • Land on your own portal and go to workspace
../_images/portal.png

Tip

  • In your workspace, select Jupyter, launch it, and start my server
../_images/startjupyter.png

Tip

  • Now you should be in the Jupyter Notebook
  • Go to mydata and alwasy save your data under this folder
../_images/jupyterhome.png

Tip

  • In the mydata folder, select New and then Python 3
../_images/notebook.png

Tip

  • The OpenSeesPy version on DesignSafe is not the latest.
  • To update to the latest and import:
../_images/jupyter-designsafe.png

Tip

  • Now you can write OpenSeesPy script in Jupyter Notebook, run the script, and show results
  • To show figure in the Notebook, you should include %matplotlib inline at the beginning
../_images/openseespy.png