diff --git a/eeschema/sim/sim_model_source.cpp b/eeschema/sim/sim_model_source.cpp index 6f3578cb4b..3080c649d6 100644 --- a/eeschema/sim/sim_model_source.cpp +++ b/eeschema/sim/sim_model_source.cpp @@ -177,6 +177,9 @@ std::string SPICE_GENERATOR_SOURCE::ItemLine( const SPICE_ITEM& aItem ) const default: for( const SIM_MODEL::PARAM& param : m_model.GetParams() ) { + if( ac != "" && ( param.Matches( "ac" ) || param.Matches( "ph" ) ) ) + continue; + std::string argStr = SIM_VALUE::ToSpice( param.value ); if( argStr != "" )