Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt DPsim to deploy it in Mybinder #323

Draft
wants to merge 582 commits into
base: master
Choose a base branch
from
Draft

Adapt DPsim to deploy it in Mybinder #323

wants to merge 582 commits into from

Conversation

pipeacosta
Copy link
Collaborator

@pipeacosta pipeacosta commented Oct 21, 2024

Based on a past PR from @stv0g . I made some changes recently and was able to deploy DPsim successfully in Mybinder. This requires to place a new Dockerfile (adapted from the Fedora-based Dockerfile) in the dpsim's root folder. Because this is intended to offer another way of end users to interact with DPsim, I think one important question here is: Should we keep this functionality as part of DPsim's main repo, or should we implement it in a separate repo?

Lennart Schumacher added 30 commits October 2, 2024 14:35
…y-2 and 3-by-3 matrices by hand

Signed-off-by: Lennart Schumacher <[email protected]>
…nd replaced pruning by makeCompressed

Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
… not every matrix is converted yet

Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
Signed-off-by: Lennart Schumacher <[email protected]>
dependabot bot and others added 22 commits October 2, 2024 14:35
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Steffen Vogel <[email protected]>
- added Ph1::Switch header and cpp files
- added header to Components.h
- added cpp to CMakeLists.txt
- made Ph1::Switch usable in pybind by adding it in EMTComponents.cpp
- added simple example circuit (VS_sw_R_L) for new EMT::Ph1::Switch model

Signed-off-by: Marvin Tollnitsch <[email protected]>
- declare methods as "override" implementations
- encapsulate system matrix stamps using "MNAStampUtils::stampConductance()"

Signed-off-by: Marvin Tollnitsch <[email protected]>
reformatted files:
- EMT_Ph1_Switch.h
- EMT_Ph1_Switch.cpp

Signed-off-by: Marvin Tollnitsch <[email protected]>
Signed-off-by: Ghassen Nakti <[email protected]>
- increase simulation time to 2 seconds
- add another switch event to close switch at 1.5 seconds
- fix vs parameters by removing frequency for dp and sp domains
- add assertions to check Ph1::EMT against Ph3::EMT, Ph1::EMT against dp and dp against sp

Signed-off-by: Marvin Tollnitsch <[email protected]>
In our workflow, docker-compose was used corresponding to v1.

In the current ubuntu:latest the support for v1 has been deprecated.

This commit upgrades the action to v2.

Signed-off-by: Leonardo Carreras <[email protected]>
Signed-off-by: Leonardo Carreras <[email protected]>
Signed-off-by: pipeacosta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.