MATPOWER Import Configuration

MATPOWER reference terminology

TermMeaning in SparlectraIs it a solver start?Is it a comparison reference?
BUS.VM / BUS.VAImported MATPOWER bus voltage columnssometimesyes
GEN.VGGenerator PV voltage setpoint columnyes (PV setpoint source)yes
imported setpointVoltage setpoint chosen by import logicsometimesyes
historical valuePrior Sparlectra/SCADA/SE stateyesno (unless explicitly configured elsewhere)

Option reference

YAML pathTypeDefaultAllowed valuesMeaningUse whenAvoid whenPerformance impactInteractions
matpower_import.caseStringcase14.mcase path/nameMATPOWER case selector.Case studies and benchmarks.Invalid/missing paths.Parse/solve scales with case size.benchmark.*, runtime/profile.
matpower_import.auto_profileSymbol/Stringrecommendoff, recommend, applyAuto select import profile behavior.Normal import workflows (recommend).Forcing profile blindly.Low compute; can change downstream defaults.Output profile visibility options.
matpower_import.auto_profile_logBoolfalsetrue, falseLog auto-profile reasoning.Debug import decisions.Quiet high-volume runs.Logging overhead only.output.console_auto_profile, logfile settings.
matpower_import.pv_voltage_sourceSymbol/Stringgen_vggen_vgPV voltage setpoint source policy.Standard MATPOWER semantics.Nonstandard conversion assumptions.None.compare_voltage_reference, PF starts.
matpower_import.pv_voltage_mismatch_tol_puFloat641e-4nonnegative realTolerance for PV voltage mismatch checks.Tight validation studies.Overly strict noisy data.Low.compare_voltage_reference.
matpower_import.compare_voltage_referenceSymbol/Stringimported_setpointimported_setpointVoltage reference used for comparisons.MATPOWER comparison workflows.When historical/SCADA ref should dominate.Low.pv_voltage_source, diagnostics.
matpower_import.bus_shunt_modelSymbol/StringadmittanceadmittanceBus shunt interpretation model.Default import path.Alternative models not implemented.None.Import convention diagnostics.
matpower_import.shift_unitSymbol/Stringdegdeg, radPhase-shift input unit.Cases with radians metadata.Wrong unit declaration.Negligible.shift_sign, branch shift diagnostics.
matpower_import.shift_signFloat641.0real (typ. 1.0, -1.0)Phase-shift sign convention.Cross-tool convention alignment.Unnecessary flipping.None.shift_unit, branch-shift diagnostics.
matpower_import.ratioSymbol/StringnormalnormalBranch ratio interpretation mode.Standard MATPOWER import.Unsupported alternate conventions.None.Transformer/tap interpretation.
matpower_import.enable_pq_gen_controllersBooltruetrue, falseEnable controller behavior on imported PQ generators.Realistic controlled studies.Raw imported behavior reproduction.Small control bookkeeping cost.PF Q-limit behavior.
matpower_import.preallocate_networkSymbol/Stringautooff, on, autoControls import-time sizehint! preallocation for large MATPOWER network construction.Large imports where construction allocations dominate runtime.Tiny cases where tuning is unnecessary.Can reduce import allocations/time; no model changes.matpower_import.preallocate_min_buses.
matpower_import.preallocate_min_busesInt1000positive integerBus-count threshold used when preallocate_network = auto.Auto-tuning preallocation trigger for site-specific case sizes.If fixed always-on/off behavior is preferred.Threshold only; no model changes.matpower_import.preallocate_network.