dwsim-api-verification
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src.
Directs agents to avoid bad C# practices like magic strings and poor architecture.
Enforces Enerflow's specific Enterprise Worker architecture and DWSIM integration rules.
Directs agents to avoid bad C# practices like magic strings and poor architecture.
| name | dwsim-api-verification |
| description | Verifies DWSIM API usage by cross-referencing against the local source code in libs/dwsim_src. |
| license | MIT |
| compatibility | opencode |
| metadata | {"project":"enerflow","type":"verification"} |
Enerflow.Worker actually exist in the local DWSIM source code (libs/dwsim_src).CalculateFlowsheet2) and suggest the correct alternatives (e.g., RequestCalculation).DWSIM.* namespaces.MethodNotFoundException or MissingMemberException occurs related to DWSIM.Since libs/dwsim_src contains the authoritative source code, use grep and read to validate your assumptions.
Do not guess where a class is. Find it.
# Example: Finding the Flowsheet class
grep -r "class Flowsheet" libs/dwsim_src/DWSIM.FlowsheetBase
Once you know the file, read it to check the method arguments.
# Example: Checking RequestCalculation arguments
grep -A 5 "public void RequestCalculation" libs/dwsim_src/path/to/Flowsheet.vb
DWSIM uses many Enums (e.g., PropertyPackageType). Verify the exact spelling.
grep -r "Enum PropertyPackageType" libs/dwsim_src
flowsheet.CalculateFlowsheet2(...) (Often void or deprecated in patched binaries)flowsheet.RequestCalculation(...)DWSIM.GlobalSettings.Settings.AutomationMode = true must be set.DWSIM.GlobalSettings/Settings.vb to confirm the property exists if you are unsure.Task.Run wraps direct DWSIM calls without a lock, although the Worker architecture handles this via ConcurrentMessageLimit = 1.