Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SimulationSetup Class Reference

UI component to set the simulation settings The widget consists of two tabs: 1) Frequency Sweep – start/stop frequency and number of points. 2) Substrate Properties – transmission‑line type, substrate geometry, etc. More...

#include <simulationsetup.h>

Inheritance diagram for SimulationSetup:
Inheritance graph
[legend]
Collaboration diagram for SimulationSetup:
Collaboration graph
[legend]

Public Member Functions

 SimulationSetup (QWidget *parent=nullptr)
 Clas constructor.
 
 ~SimulationSetup ()
 Class destructor.
 
Frequency sweep methods

Get the start frequency in Hz.

Returns
Start frequency (Hz).
double getFstart ()
 
QString getFstart_as_Text ()
 Get the start frequency as a formatted string.
 
double getFstop ()
 Get the stop frequency in Hz.
 
QString getFstop_as_Text ()
 Get the stop frequency as a formatted string.
 
int getNpoints ()
 Get the number of frequency points.
 

Substrate properties methods

}@

Get the selected transmission‑line type.

Returns
TransmissionLineType::MLIN for microstrip, TransmissionLineType::SLIN for stripline.
TransmissionLineType getTransmissionLineType ()
 
double getSubstrateThickness ()
 Substrate thickness (mm).
 
double getSubstratePermittivity ()
 Relative permittivity (εᵣ)
 
double getSubstrateLossTangent ()
 Loss tangent (tan δ)
 
double getConductorThickness ()
 Conductor thickness (µm)
 
double getConductorConductivity ()
 Conductor conductivity (S/m)
 
double getGroundPlaneThickness ()
 Ground‑plane thickness (µm).
 
MS_Substrate get_MS_Substrate ()
 }@
 

Helper methods

}@

void updateSimulation ()
 Emitted when any simulation parameter changes.
 
void updateSubstrate ()
 Emitted specifically when substrate data changes.
 

Detailed Description

UI component to set the simulation settings The widget consists of two tabs: 1) Frequency Sweep – start/stop frequency and number of points. 2) Substrate Properties – transmission‑line type, substrate geometry, etc.

Constructor & Destructor Documentation

◆ SimulationSetup()

SimulationSetup::SimulationSetup ( QWidget *  parent = nullptr)

Clas constructor.

Parameters
parentParent widget

Member Function Documentation

◆ get_MS_Substrate()

MS_Substrate SimulationSetup::get_MS_Substrate ( )
inline

}@

Retrieve the populated MS_Substrate structure.

Returns
Substrate description compatible with the synthesis code.

◆ getFstart_as_Text()

QString SimulationSetup::getFstart_as_Text ( )

Get the start frequency as a formatted string.

Returns
Textual representation, e.g. “10 MHz”.

◆ getFstop()

double SimulationSetup::getFstop ( )

Get the stop frequency in Hz.

Returns
Stop frequency (Hz).

◆ getFstop_as_Text()

QString SimulationSetup::getFstop_as_Text ( )

Get the stop frequency as a formatted string.

Returns
Textual representation, e.g. “2 GHz”.

◆ getGroundPlaneThickness()

double SimulationSetup::getGroundPlaneThickness ( )
inline

Ground‑plane thickness (µm).

Note
Stripline only

◆ getNpoints()

int SimulationSetup::getNpoints ( )
inline

Get the number of frequency points.

Returns
Number of points.

The documentation for this class was generated from the following files: