Sci-Wcalc

What is it?

Sci-Wcalc refers to the Scilab interface to the wcalc routines. This interface allows the user to apply the full power of a high level programming language like Scilab to the design and analysis of the various Wcalc supported structures. For example, it is extremely simple to plot the Q and self resonant frequency of a 220 nH inductor as a function of winding diameter or to optimize the impedance of a microstrip line to produce minimum loss. For quick calculations with only a few sets of parameters, the standalone GTK-Wcalc is a simpler tool, but when complex optimizations or plotting is desired, the Scilab interface provides tremendous flexibility.

Using Sci-Wcalc

Loading Sci-Wcalc (After Installation)

To use the Scilab interface, the interface must be loaded into your running Scilab session. This is done by executing the load_wcalc.sce script. To execute this script enter the following at the Scilab prompt:
   --> exec('/usr/local/libexec/wcalc/load_wcalc.sce');
You will need to replace /usr/local with the installation prefix chosen when Wcalc was compiled. If you want to always have access to Sci-Wcalc when you run Scilab, you can add the exec command to your .scilab file in your home directory.

Loading Sci-Wcalc (Before Installation)

If you want to try out Sci-Wcalc before it is installed in its final location, use the test_wcalc.sce script instead. From the Scilab prompt, enter:
   --> exec('/tmp/wcalc-0.2/sci-wcalc/test_wcalc.sce');
You will need to replace /tmp/wcalc-0.2 with the path to the directory where Wcalc has been compiled.

Running the Sci-Wcalc Functions

Once the Sci-Wcalc interface has been loaded, the Sci-Wcalc functions appear as Scilab builtin functions. Complete documentation on the various functions is available via Scilab's online help.

Examples

Currently available functions

You can view the Scilab man pages for the Sci-Wcalc functions online:
air_coil_calc - Single layer air core solenoid inductor analysis
air_coil_syn - Single layer air core solenoid inductor synthesis
bars_calc - Self and mutual inductance of a pair of parallel rectangular bars
coax_calc - Coaxial transmission line analysis
coax_syn - Coaxial transmission line synthesis
coplanar_calc - Symmetric coplanar transmission line analysis
coplanar_syn - Single coplanar transmission line synthesis
coupled_microstrip_calc - Coupled microstrip transmission line analysis
coupled_microstrip_syn - Coupled microstrip transmission line synthesis
coupled_stripline_calc - Coupled stripline transmission line analysis
coupled_stripline_syn - Coupled stripline transmission line synthesis
ic_microstrip_calc - Integrated circuit microstrip transmission line analysis
ic_microstrip_syn - Integrated circuit microstrip transmission line synthesis
microstrip_calc - Symmetric microstrip transmission line analysis
microstrip_syn - Single microstrip transmission line synthesis
parallel_rc_p2s - Convert Parallel RC Network into Equivalent Series RC Network
parallel_rc_s2p - Convert Series RC Network into Equivalent Parallel RC Network
parallel_rl_p2s - Convert Parallel RL Network into Equivalent Series RL Network
parallel_rl_s2p - Convert Series RL Network into Equivalent Parallel RL Network
stripline_calc - Symmetric stripline transmission line analysis
stripline_syn - Symmetric stripline transmission line synthesis

Wcalc Logo

Information
 About Wcalc
 Reporting bugs
 Current projects
 Obtaining Wcalc
 Technical Notes
 Wcalc F.A.Q.
 Wcalc Home
 Wcalc Sourceforge Project

Models
 Air Core Solenoid Inductor
 Parallel Rectangular Bars Inductance
 Coaxial Transmission Line
 Coplanar Waveguide
 Coupled Microstrip
 Coupled Stripline
 Integrated Circuit Microstrip
 Microstrip
 Series/Parallel RC Network
 Series/Parallel RL Network
 Stripline

Frontends
 CGI-Wcalc (Web Interface)
 GTK-Wcalc (GUI Interface)
 MEX-Wcalc (Matlab Interface)
 Octave-Wcalc (Octave Interface)
 SCI-Wcalc (Scilab Interface)
 STDIO-Wcalc (Simple stdio Interface)

Misc. Info.
 Permeabilities
 Permitivities
 Resistivities
 Unit Conversion Factors
 Wire Sizes

  SourceForge.net Logo  
Copyright © 2001, 2002, 2004, 2005, 2006 Dan McMahill ALL RIGHTS RESERVED.
  Support This Project