{"id":26892088,"url":"https://github.com/dnv-opensource/sesam-time-domain-examples","last_synced_at":"2025-05-12T14:11:42.583Z","repository":{"id":235998246,"uuid":"785202114","full_name":"dnv-opensource/sesam-time-domain-examples","owner":"dnv-opensource","description":"Sesam Examples","archived":false,"fork":false,"pushed_at":"2025-03-06T08:37:34.000Z","size":46156,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-12T14:11:22.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnv-opensource.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-11T12:08:16.000Z","updated_at":"2025-03-06T08:37:44.000Z","dependencies_parsed_at":"2025-03-06T09:39:12.272Z","dependency_job_id":null,"html_url":"https://github.com/dnv-opensource/sesam-time-domain-examples","commit_stats":null,"previous_names":["dnv-opensource/sesam-examples","dnv-opensource/sesam-time-domain-examples"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsesam-time-domain-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsesam-time-domain-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsesam-time-domain-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsesam-time-domain-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnv-opensource","download_url":"https://codeload.github.com/dnv-opensource/sesam-time-domain-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253754219,"owners_count":21958842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-31T22:49:07.940Z","updated_at":"2025-05-12T14:11:42.563Z","avatar_url":"https://github.com/dnv-opensource.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sesam Time Domain Examples\nRepository containing examples for Time Domain analyses for [Floating Offshore Wind](https://www.dnv.com/software/services/software-to-design-floating-wind-turbine-support-structures/) using Sesam. \nThe repository contains various Jupyter notebook examples demonstrating how to run Sesam applications in a workflow including custom Python scripts using the Python library OneWorkflow developed by DNV.\n\nThe image below illustrates a typical Time Domain analysis workflow including a coupled analysis:\n\n\u003cimg src=\"_imgs/workflow.png\" alt=\"image\" width=\"50%\" height=\"auto\"\u003e\n\u003cbr\u003e\u003cbr\u003e\n\nThe following examples focus on the part of the workflow contained in the green box. They demonstrate various ways to read results for one or many design load cases from coupled analysis, then reconstruct the loads and run finite element analysis on the substructure, before doing fatigue and buckling checks.\n\n**_Disclaimer:_ The example models and inputs are only used to serve as examples on how to run Sesam workflows using Python and Jupyter Notebooks. The models and their inputs have not been tuned to be realistic, therefore the results obtained in the Sesam analyses will also not be realistic. We will continue to improve both the examples and the example files to make them more realistic.**\n\n\n**_Note:_**  For new users to Time Domain Buckling Analysis of FOWT structures we recommend to start with the tutorials before running other workflow examples.\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Table of contents \n* [Prerequisites](#Prerequisites)\n* [Tutorials \u0026 Examples](#tutorials)\n* [Introduction to OneWorkflow](#oneworkflowIntro)\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Prerequisites \u003ca id='Prerequisites'\u003e\u003c/a\u003e\n\n## Python\n\nOneWorkflow supports Python versions 3.10, 3.11, and 3.12, which are available for download from the official [Python download page](https://www.python.org/downloads/). Please make sure that you have installed one of these versions. We recommend that you use Python version 3.12. \n\nTo ensure a smooth development experience, it is essential that you enable the 'Add python.exe to the PATH' option during installation. This option is usually turned off by default, the image below highlights how to enable it.\n\n\u003cimg src=\"_imgs/pythonpath.png\" alt=\"image\" width=\"50%\" height=\"auto\"\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\nYou must verify the default Python version on your system, especially if you have multiple Python installations:\n- Open the command line interface (Windows-start-menu --\u003e type cmd --\u003e enter)\n- Type \"python --version\" and press enter to check the default Python version on your system.\n\nIt is recommend to disable the MAX_PATH limitation in Windows, to avoid problems with paths exceeding a length of 260 characters. This can be done from the Python setup, but requires local administrator privileges.\n\n\u003cimg src=\"_imgs/max_path_length.png\" alt=\"image\" width=\"50%\" height=\"auto\"\u003e\n\nSee the [Python documentation](https://docs.python.org/3/using/windows.html#removing-the-max-path-limitation) for more information.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Jupyter notebook viewer\n\nSeveral of the examples and tutorials provided use Jupyter notebooks to document the Python code. This requires a Jupyter notebook viewer, several are available online for download.\nIf you don't have a preferred viewer yet, we recommend downloading and installing [Visual Studio Code](https://code.visualstudio.com/download) from its official website. This open-source code editor is recognised by developers worldwide for its extensive language support and a vast array of extensions. After successful installation, install the following extensions:\n\n- [Python Extension](https://code.visualstudio.com/docs/languages/python) - Enhance your Python development experience in VS Code. Download it from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-python.python).\n- [Jupyter Notebook Extension](https://code.visualstudio.com/docs/datascience/jupyter-notebooks) - Seamlessly integrate Jupyter notebooks with VS Code. Download it from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter).\n\u003cbr\u003e\u003cbr\u003e\n\n## Optional: Git\nIf you would like to [clone](https://git-scm.com/docs/git-clone) this repository, you will need to have [Git](https://git-scm.com/downloads), [GitHub CLI](https://cli.github.com/), or [GitHub Desktop](https://desktop.github.com/) installed. Please refer to the documentation for these tools for instruction on how to use.\n\nUsing git, you can clone this repository by opining a command prompt and entering the command:\u003cbr\u003e\n`git clone https://github.com/dnv-opensource/sesam-time-domain-examples.git`\n\nSImilarly if you prefer to use GitHub CLI:\u003cbr\u003e\n`gh repo clone dnv-opensource/sesam-time-domain-examples`\n\nClicking on the \"\u003c\u003e Code\" button on the GitHub UI will give you more examples\n\n\u003cimg src=\"_imgs/github_code.png\" alt=\"image\" width=\"30%\" height=\"auto\"\u003e\n\n\nYou may also download a zip file containing all files from [here](https://github.com/dnv-opensource/sesam-time-domain-examples/archive/refs/heads/main.zip)\n\u003cbr\u003e\u003cbr\u003e\n\n## Sesam Setup Guide\n\nYou need the relevant Sesam products with a license for local runs. Additionally, you need [Application Version Manager](https://sesam.dnv.com/download/windows/applicationversionmanager_3200_inst_win.zip), which does not require a license for local execution. You can download Sesam applications from [here](https://sesam.dnv.com/download/programs.html).\n\nRefer to the [DNV Python Tools Installation Guide](installation/installation.ipynb) for detailed steps on setting up the necessary tools and installing the DNV specific Python packages. These are essential for running all notebooks.\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Tutorials and examples \u003ca id='#tutorials'\u003e\u003c/a\u003e\nOur tutorials and examples are split into sub-folders, to cover our different Time Domain workflows: \n* [Time Domain Direct Load Generation](direct-load-generation/Readme.md)  \n* [Time Domain Response Reconstruction](response-reconstruction/Readme.md)\n* [Other Examples](other-examples/Readme.md) (An example for reading and writing SIF is presented here.)\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n# Introduction to OneWorkflow \u003ca id='oneworkflowIntro'\u003e\u003c/a\u003e\nOneWorkflow is a comprehensive workflow development system that integrates various tools, modules and services seamlessly. This integration streamlines the workflow, enhances efficiency, and promotes a more unified approach to development. With its UI-less interface, OneWorkflow is designed to provide a robust backend for workflow automation. It also offers the flexibility to use the same code for local and cloud-based operations using OneCompute.\n\nSupport for Sesam on OneCompute will become public soon. Please contact us on software.support@dnv.com if you are interested in early access to our cloud services. \n\n\u003cbr\u003e\nFor a more detailed explanation of OneWorkflow, please consult the [help pages](https://myworkspace.dnv.com/knowledge-centre/sesam-workflows/usermanual).  Here you can learn about the folder structure employed in the examples, explore relevant concepts such as asynchronous programming and find links to the API documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnv-opensource%2Fsesam-time-domain-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnv-opensource%2Fsesam-time-domain-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnv-opensource%2Fsesam-time-domain-examples/lists"}