Transmission line calculator overwrites input parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Low
|
Bug Description
When using Calculator tool -> TransLine -> Coplanar wave guide with ground plane, sometimes electrical parameters that you input are overwritten with nan.
Example for Coplanar wave guide with ground plane:
Er=4.2
TanD=0.02
Rho=1.72e-8
H=1
T=0.035
mu Rel C=1
Frequency=2.5GHz
W=0.2
S=selected for calculation
L=0
Input params:
Z0=50
Ang_l=0
Press 'Synthesize' and Z0 and Ang_l and L gets overwritten to '-nan'
These parameters are input and its annoying to rewrite them. They shouldn't change.
I understand that these equations work only in specific range. I think correct way would be to present warning if input parameters are out of range.
Application: kicad
Version: (5.0.0-
Libraries:
wxWidgets 3.0.3
libcurl/7.58.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0
Platform: Linux 4.15.6-1-ARCH x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.66.0
Curl: 7.58.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: starter |
Changed in kicad: | |
status: | Confirmed → In Progress |
tags: | added: pcb-calculator |
Changed in kicad: | |
milestone: | 5.1.3 → 5.1.4 |
Changed in kicad: | |
milestone: | 5.1.4 → 5.1.5 |
Changed in kicad: | |
milestone: | 5.1.5 → 5.1.6 |
Would it be ok to show a dialog asking the user if he/she wants to keep or revert the changes to the input parameters?