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

Ecalc 619 improve and restructure keyword docs #340

Closed
wants to merge 28 commits into from

Conversation

frodehk
Copy link
Contributor

@frodehk frodehk commented Jan 5, 2024

Why is this pull request needed?

The documentation of different eCalc keywords can be difficult to navigate, especially for unexperienced users. There are also keywords without context in the documentation, e.g. RATE. The search functionality is helpful, but in many cases maybe not enough (you need to know what to look for).

A more logical structure of the keyword documentation may improve the understanding and user experience. Both for beginners and more experienced users.

A more structured apporach could be to have 5 top level keywords in sidebar, reflecting the main yaml-sections. Then the user can navigate to the desired section, recognizable from the yaml-model setup. The modelling guide can be referenced for details.

What does this pull request change?

Create a new test structure of the Yaml keywords, investigate usability:

  • Create a Yaml keywords tree section in the sidebar
  • Add top level keywords
  • Add sub level keywords for TIME_SERIES
  • Add sub level keywords for FACILITY_INPUTS
  • Add sub level keywords for MODELS
  • Add sub level keywords for VARIABLES
  • Add sub level keywords for INSTALLATIONS
  • Add other keywords

Issues related to this change:

https://equinor-ecalc.atlassian.net/browse/ECALC-619?atlOrigin=eyJpIjoiZWE2ZmU4NTNiYTZmNDZkNTgxNjRjZTRmYWMzOWJiODMiLCJwIjoiaiJ9

@frodehk frodehk self-assigned this Jan 5, 2024
@frodehk frodehk requested a review from a team as a code owner January 5, 2024 13:38
frodehk and others added 22 commits January 5, 2024 14:44
* docs: maximum pressure ratio per stage in docs
ecalc.py is actually energy calculator
EnergyCalculator represents an application specific usage of the eCalc
domain.
graph result represents an application specific result.
downgraded pydantic to v1 because we still need to set that as dependency until we have changed everything to v2
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Removed yellow lines from all_energy_usage_models
* docs: update migration guide and description venting emitters
@frodehk
Copy link
Contributor Author

frodehk commented Jan 16, 2024

Rebase issue - new pr.

@frodehk frodehk closed this Jan 16, 2024
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.

3 participants