{"id":26891997,"url":"https://github.com/dnv-opensource/sim-explorer","last_synced_at":"2026-02-28T20:04:08.855Z","repository":{"id":251005865,"uuid":"821414340","full_name":"dnv-opensource/sim-explorer","owner":"dnv-opensource","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-19T13:26:22.000Z","size":10561,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-19T16:49:27.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dnv-opensource.github.io/sim-explorer/","language":"Python","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.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-06-28T13:39:04.000Z","updated_at":"2026-02-17T09:56:09.000Z","dependencies_parsed_at":"2025-01-17T13:21:58.294Z","dependency_job_id":"486e331e-c73c-4b6d-a0fe-76582fb93c9d","html_url":"https://github.com/dnv-opensource/sim-explorer","commit_stats":null,"previous_names":["dnv-opensource/case_study","dnv-opensource/sim-explorer"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dnv-opensource/sim-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsim-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsim-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsim-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsim-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnv-opensource","download_url":"https://codeload.github.com/dnv-opensource/sim-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnv-opensource%2Fsim-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29951101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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:48:49.068Z","updated_at":"2026-02-28T20:04:08.833Z","avatar_url":"https://github.com/dnv-opensource.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://img.shields.io/pypi/v/sim-explorer.svg?color=blue\n   :target: https://pypi.org/project/sim-explorer\n   :alt: pypi\n\n.. image:: https://img.shields.io/pypi/pyversions/sim-explorer.svg?color=blue\n   :target: https://pypi.org/project/sim-explorer\n   :alt: versions\n\n.. image:: https://img.shields.io/pypi/l/sim-explorer.svg\n   :target: https://github.com/dnv-opensource/sim-explorer/blob/main/LICENSE\n   :alt: license\n\n.. image:: https://img.shields.io/github/actions/workflow/status/dnv-opensource/sim-explorer/.github%2Fworkflows%2Fnightly_build.yml?label=ci\n   :alt: ci\n\n.. image:: https://img.shields.io/github/actions/workflow/status/dnv-opensource/sim-explorer/.github%2Fworkflows%2Fpush_to_release.yml?label=docs\n   :target: https://dnv-opensource.github.io/sim-explorer/README.html\n   :alt: docs\n\n\nIntroduction\n============\nThe package includes tools for experimentation on simulation models.\nIn the current version experimentation on top of OSP models is implemented.\nThe package introduces a json5-based file format for experiment specification.\nBased on this specification\n\n* a system model link is stored\n* active variables are defined and alias names can be given\n* the simulation base case variable settings are defined\n* a hierarchy of sub-cases can be defined with their dedicated variable settings\n* the common results to be retrieved from simulation runs is defined\n\nOther features are\n\n* alias variables can address multiple components of the same type, ensuring efficient experimentation.\n* alias variables can vectors, even in FMI2 models. It is possible to set/get slices of such vectors\n* variable settings can be time-based, enabling the definition of scenarios\n* variable retrievals (results) can be time-based (in general and per case), enabling efficient model verification\n\nThe package does not support systematic variable sweep with respect to sets of variables.\nSuch sweeps should be performed with separate tools.\nThe package might be compared with navigating through a huge house, where the cases represent the various rooms,\nwhile searching for object in a given room is left to separate tools.\n\nThe package is designed as support tool for Assurance of Simulation Models, see `DNV-RP-0513 \u003chttps://standards.dnv.com/explorer/document/6A4F5922251B496B9216572C23730D33/2\u003e`_.\n\nThe package is currently under development. More instructions and documentation will be added.\n\nInstallation\n------------\n\n``pip install sim-explorer``\n\n\nDevelopment Setup\n-----------------\n\n1. Install uv\n^^^^^^^^^^^^^\nThis project uses `uv` as package manager.\n\nIf you haven't already, install `uv \u003chttps://docs.astral.sh/uv/\u003e`_, preferably using it's `\"Standalone installer\" \u003chttps://docs.astral.sh/uv/getting-started/installation/#__tabbed_1_2/\u003e`_ method:\n\n..on Windows:\n\n``powershell -ExecutionPolicy ByPass -c \"irm https://astral.sh/uv/install.ps1 | iex\"``\n\n..on MacOS and Linux:\n\n``curl -LsSf https://astral.sh/uv/install.sh | sh``\n\n(see `docs.astral.sh/uv \u003chttps://docs.astral.sh/uv/getting-started/installation//\u003e`_ for all / alternative installation methods.)\n\nOnce installed, you can update `uv` to its latest version, anytime, by running:\n\n``uv self update``\n\n2. Install Python\n^^^^^^^^^^^^^^^^^\nThis project requires Python 3.10 or later.\n\nIf you don't already have a compatible version installed on your machine, the probably most comfortable way to install Python is through ``uv``:\n\n``uv python install``\n\nThis will install the latest stable version of Python into the uv Python directory, i.e. as a uv-managed version of Python.\n\nAlternatively, and if you want a standalone version of Python on your machine, you can install Python either via ``winget``:\n\n``winget install --id Python.Python``\n\nor you can download and install Python from the `python.org \u003chttps://www.python.org/downloads//\u003e`_ website.\n\n3. Clone the repository\n^^^^^^^^^^^^^^^^^^^^^^^\nClone the sim-explorer repository into your local development directory:\n\n``git clone https://github.com/dnv-opensource/sim-explorer path/to/your/dev/sim-explorer``\n\nChange into the project directory after cloning:\n\n``cd sim-explorer``\n\n4. Install dependencies\n^^^^^^^^^^^^^^^^^^^^^^^\nRun ``uv sync`` to create a virtual environment and install all project dependencies into it:\n\n``uv sync``\n\nNote: Using ``--no-dev`` will omit installing development dependencies.\n\nNote: ``uv`` will create a new virtual environment called ``.venv`` in the project root directory when running\n``uv sync`` the first time. Optionally, you can create your own virtual environment using e.g. ``uv venv``, before running\n``uv sync``.\n\n\n5. (Optional) Activate the virtual environment\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nWhen using ``uv``, there is in almost all cases no longer a need to manually activate the virtual environment.\n\n``uv`` will find the ``.venv`` virtual environment in the working directory or any parent directory, and activate it on the fly whenever you run a command via `uv` inside your project folder structure:\n\n``uv run \u003ccommand\u003e``\n\nHowever, you still *can* manually activate the virtual environment if needed.\nWhen developing in an IDE, for instance, this can in some cases be necessary depending on your IDE settings.\nTo manually activate the virtual environment, run one of the \"known\" legacy commands:\n\n..on Windows:\n\n``.venv\\Scripts\\activate.bat``\n\n..on Linux:\n\n``source .venv/bin/activate``\n\n6. Install pre-commit hooks\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\nThe ``.pre-commit-config.yaml`` file in the project root directory contains a configuration for pre-commit hooks.\nTo install the pre-commit hooks defined therein in your local git repository, run:\n\n``uv run pre-commit install``\n\nAll pre-commit hooks configured in ``.pre-commit-config.yam`` will now run each time you commit changes.\n\npre-commit can also manually be invoked, at anytime, using:\n\n``uv run pre-commit run --all-files``\n\nTo skip the pre-commit validation on commits (e.g. when intentionally committing broken code), run:\n\n``uv run git commit -m \u003cMSG\u003e --no-verify``\n\nTo update the hooks configured in `.pre-commit-config.yaml` to their newest versions, run:\n\n``uv run pre-commit autoupdate``\n\n7. Test that the installation works\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTo test that the installation works, run pytest in the project root folder:\n\n``uv run pytest``\n\n\nMeta\n----\nCopyright (c) 2024 `DNV \u003chttps://www.dnv.com/\u003e`_ AS. All rights reserved.\n\nSiegfried Eisinger - siegfried.eisinger@dnv.com\n\nDistributed under the MIT license. See `LICENSE \u003cLICENSE.md/\u003e`_ for more information.\n\n`https://github.com/dnv-opensource/sim-explorer \u003chttps://github.com/dnv-opensource/sim-explorer/\u003e`_\n\nContribute\n----------\nAnybody in the OSP community is welcome to contribute to this code, to make it better,\nand especially including other features from model assurance,\nas we firmly believe that trust in our models is needed\nif we want to base critical decisions on the support from these models.\n\n\nTo contribute, follow these steps:\n\n1. Fork it `\u003chttps://github.com/dnv-opensource/sim-explorer/fork/\u003e`_\n2. Create an issue in your GitHub repo\n3. Create your branch based on the issue number and type (``git checkout -b issue-name``)\n4. Evaluate and stage the changes you want to commit (``git add -i``)\n5. Commit your changes (``git commit -am 'place a descriptive commit message here'``)\n6. Push to the branch (``git push origin issue-name``)\n7. Create a new Pull Request in GitHub\n\nFor your contribution, please make sure you follow the `STYLEGUIDE \u003cSTYLEGUIDE.md/\u003e`_ before creating the Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnv-opensource%2Fsim-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnv-opensource%2Fsim-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnv-opensource%2Fsim-explorer/lists"}