Port-Hamiltonian Representation and Approximation of Interconnected Systems using Energy
PHRAISE gathers research material related to the port-Hamiltonian framework for modelling, discretizing and controlling physical systems.
We welcome contributions in the form of DOI submissions:
- Open a pull request that adds the references to
docs/newDOI.txtin the GitHub repository. - Alternatively, send the new DOIs by email.
The maintenance scripts rely on API keys for Scopus, Springer, IEEE and Mendeley. Once you have the keys available, save them in .env in the docs folder as follow:
MAIL=your-email@example.fr
SCOPUS_API_KEY=
SPRINGER_API_KEY=
IEEE_API_KEY=
MENDELEY_API_KEY=
Then, run the following workflow from the docs directory:
./looking4Update.sh– update metadata (volume, issue, etc.) and fetch the latest CrossRef entries- Check entries in checkDOI.txt and decide where they belong: bad/newDOI.txt
./getData.sh newDOI.txt./setAuthorMapping.sh– correctbiblio.jsonentries as needed.- Add new name variations or entries to
assets/data/author_mappings.json– retry./setAuthorMapping.shto check ./concatenate.sh./setPosts.sh && ./setPages.shbundle exec jekyll serve --watch– verify the build locally and make final corrections.- Commit and push the changes.
- Confirm that the site deploys correctly on GitHub Pages.
The static website that showcases the PHRAISE publications lives in the docs/
folder and is built with Jekyll. To preview the site or
validate content changes locally:
-
Install Ruby (version 3.0 or newer is recommended) and Bundler.
-
Install the site dependencies:
cd docs bundle install -
Serve the website with live reloading:
bundle exec jekyll serve --watch -
Open http://127.0.0.1:4000 in your browser to review the generated pages.
When you are finished, stop the server with Ctrl+C. Running the site locally
is especially helpful after adding new DOIs to make sure the generated posts and
pages render correctly before publishing them.