To add SPICE model data (including subcircuit details) for a component in Flux, you need to associate the correct simulation parameters with that component. In practice, you should:
Open the component’s detail inspector.
Locate the simulation or SPICE configuration section (often under simulation parameters or a dedicated SPICE tab).
Enter the complete SPICE model string, ensuring that it includes:
The .SUBCKT declaration, which details the subcircuit name.
A complete listing of the pin connections that map to your schematic.
Any additional model parameters (e.g., temperature, device-specific attributes) required for an accurate simulation.
Verify that the subcircuit pin ordering corresponds properly to the component's schematic pins.