"""Host adaptation for the pinned simulator UI; numerical source stays unchanged.""" import json import re from operating_conditions import registry from simulator_service import FIXED_PRESETS def simulator_html(original): html = original.replace('
Fixed two-phase 2:1 gain. The output current is a constant-current load. Leave gate capacitance, duration or maximum step blank for automatic settings. Every run checks periodic steady state, energy balance and convergence. Q3/Q7 use a −2 V off bias. Effective gate capacitance supplies the auxiliary loss estimate.
The main waveform uses the entered operating point. The sweep varies the selected input and keeps the other settings.