pvsyst_prepare_sourced_design
Bind declared source excerpts to component identities and build a cited design-envelope request, returning a ready, needs-review, or blocked electrical design draft with provenance.
Instructions
[Simulation] Bind caller-declared excerpts to source text and build the design-envelope request. pan_name and ond_name are exact loose component filenames (workspace first, then the installed library): a manufacturer-only search is never substituted and no model is inferred. The identity label is composed from the owning objects as "PAN manufacturer PAN model / OND manufacturer OND model" and cannot be overridden by the caller. A root-only text component and an 8.1.6 GUI component are both accepted: the root object is required, a PVObject_Commercial block is optional and its identity wins, while a disagreement between the two, a repeated declared field or a legacy binary or non-UTF-8 file returns blocked with the concrete field. sources maps short ids to declared source text whose kind is manufacturer, site or assumption; declarations claims one value per field, each tied to a source id, an excerpt and the exact value/unit tokens it must agree with, and the declared source text itself is never returned. design carries explicit engineering goals only, so no envelope, coefficient or limit can be injected without a citation. status is ready, needs_review or blocked; the assembled electrical_design draft, the reused envelope result and the citation provenance come back, and the declared excerpts are a source-consistency check between the claimed value and the quoted loose component identity, not a manufacturer certification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| design | No | ||
| sources | Yes | ||
| ond_name | Yes | ||
| pan_name | Yes | ||
| declarations | Yes |