Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
SingleStub.h
Go to the documentation of this file.
1
7
8#ifndef SINGLESTUB_H
9#define SINGLESTUB_H
10
11#include "Schematic/Network.h"
12#include "Schematic/component.h"
14
19class SingleStub : public Network {
20 public:
23
28 Specs = AS;
29 f_match = freq;
30 }
31
33 virtual ~SingleStub() {}
34
36 void synthesize();
37
38 private:
41
42 double f_match;
43
45 void buildMatchingNetwork_IdealTL(double d, double lstub);
46
48 void buildMatchingNetwork_Microstrip(double d, double lstub);
49
55 double normalizePhase(double phase);
56
63 double calculateSusceptance(double t, double RL, double XL, double Z0);
64
70 double calculateT(double RL, double XL, double Z0);
71
76 double calculateLineDistance(double t, double lambda);
77
83 double calculateStubLength(double B, double Z0, double lambda);
85};
86#endif // SINGLESTUB_H
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Abstract base class for network implementations.
Definition Network.h:27
Definition SingleStub.h:19
virtual ~SingleStub()
Class destructor.
Definition SingleStub.h:33
void synthesize()
Calculate component values and build schematic.
Definition SingleStub.cpp:12
SingleStub()
Class constructor.
Definition SingleStub.h:22
SingleStub(MatchingNetworkDesignParameters AS, double freq)
Class constructor with parameters.
Definition SingleStub.h:27
Graphical component representation in schematic (definition)
Matching network design parameters.
Definition structures.h:220