-
Notifications
You must be signed in to change notification settings - Fork 13
📝 Refactor documentation for adding variables and constraints in… #3692
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
📝 Refactor documentation for adding variables and constraints in… #3692
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the documentation for adding variables and constraints by updating the instructions and examples to reflect the transition from a Fortran-based to a Python-based framework. Key changes include updated guidelines for input variables, iteration variables, figures of merit, and scan variables with Python code examples, as well as minor modifications to constraint equation instructions.
Comments suppressed due to low confidence (2)
documentation/proc-pages/development/add-vars.md:1
- Typo in header: 'Variabales' should be 'Variables'.
# Guide for adding Variabales & Constraints
documentation/proc-pages/development/add-vars.md:61
- Typo: 'derscription' should be corrected to 'description'.
4. Update the lablxc derscription in numerics.f90.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3692 +/- ##
=======================================
Coverage 38.13% 38.13%
=======================================
Files 88 88
Lines 22470 22470
=======================================
Hits 8570 8570
Misses 13900 13900 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy with doc changes.
) * 📝 Refactor documentation for adding variables and constraints in `PROCESS` code * Update documentation/proc-pages/development/add-vars.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update documentation/proc-pages/development/add-vars.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This pull request updates the
PROCESS
documentation to reflect changes in the codebase as it transitions from Fortran to Python. The updates clarify how to add inputs, iteration variables, figures of merit, scan variables, and constraints in the Python-based framework. The most important changes include updates to variable initialization, iteration variable handling, figure of merit definitions, and scan variable configuration.Updates for Python-based framework:
Input Variables:
input.py
and initializing them in.py
files.Iteration Variables:
ITERATION_VARIABLES
dictionary initeration_variables.py
.Figures of Merit:
objective_function()
method and theOBJECTIVES_NAMES
dictionary inobjectives.py
.Scan Variables:
SCAN_VARIABLES
dictionary inscan.py
for configuration. Examples now reflect Python syntax.Constraint Equations:
constraints.py
and registered with theConstraintManager
, moving away from Fortran-based methods.…PROCESS
codeChecklist
I confirm that I have completed the following checks: