dwsim-api-verification
Installation
SKILL.md
What I do
- Source Code Verification: I verify that classes, methods, and properties used in
Enerflow.Workeractually exist in the local DWSIM source code (libs/dwsim_src). - Signature Checking: I ensure that the arguments passed to DWSIM methods match the function signatures found in the source.
- Deprecation Guard: I actively check for deprecated or void methods (e.g.,
CalculateFlowsheet2) and suggest the correct alternatives (e.g.,RequestCalculation).
When to use me
- Coding: IMMEDIATELY BEFORE writing any code that calls into
DWSIM.*namespaces. - Debugging: When a
MethodNotFoundExceptionorMissingMemberExceptionoccurs related to DWSIM. - Refactoring: When upgrading DWSIM versions or changing simulation logic.
How to Verify (The "Grep Check")
Since libs/dwsim_src contains the authoritative source code, use grep and read to validate your assumptions.
1. Find the Class Definition
Do not guess where a class is. Find it.