Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Gysel.h
Go to the documentation of this file.
1
7
8#ifndef GYSEL_H
9#define GYSEL_H
10
11#include "Misc/general.h"
12#include "Schematic/Network.h"
13#include "Schematic/component.h"
15#include <QPen>
16
19class Gysel : public Network {
20 public:
22 Gysel() {}
23
26 Gysel(PowerCombinerParams PS) { Specification = PS; }
27
29 virtual ~Gysel() {}
30
32 void synthesize();
33
34 private:
36 PowerCombinerParams Specification;
37
38 double lambda4;
39 double lambda2;
40
42 void calculateParams();
43
45 void setComponentsLocation();
46
48 void buildGysel_IdealTL();
49
51 void buildGysel_Microstrip();
52
54 int x_spacing;
55 int y_spacing;
56
58 QPoint Port_in;
59 QPoint Port_out_up;
60 QPoint Port_out_bottom;
61
63 QPoint N1_pos; // Node in front of the input port
64 QPoint N2_pos; // Node in front of the upper output port
65 QPoint N3_pos; // Node in front of the lower output port
66 QPoint N4_pos; // Node in front of the upper resistor
67 QPoint N5_pos; // Node in front of the lower resistor
68
70 QPoint TL1_pos;
71 QPoint TL2_pos;
72 QPoint TL3_pos;
73 QPoint TL4_pos;
74 QPoint TL5_pos;
75
77 QPoint R_top;
78 QPoint R_GND_top;
79
81 QPoint R_bottom;
82 QPoint R_GND_bottom;
83
84};
85
86#endif // GYSEL_H
Synthesize microstrip lines (definition)
Abstract base class for network implementations.
Gysel power combiner/divider network.
Definition Gysel.h:19
Gysel()
Class constructor.
Definition Gysel.h:22
Gysel(PowerCombinerParams PS)
Constructor with power combiner parameters.
Definition Gysel.h:26
void synthesize()
Synthesize the double-box branchline network.
Definition Gysel.cpp:15
virtual ~Gysel()
Class destructor.
Definition Gysel.h:29
Abstract base class for network implementations.
Definition Network.h:27
Graphical component representation in schematic (definition)
Utility functions needed across the whole project.
Power combiner parameters.
Definition structures.h:261