structure_of_MOD.tex 3.49 KB
\chapter{Library of cable models, MOD} \label{structure_of_MOD}

MOD comprises the library of cable models, The library contains the following:
\begin{enumerate}
\item Models of individual cables which are created by the cable model building process or delivered as elements of the library. These models may be used as input to the cable bundle model building process.
\item Models of cable bundles which are created by the cable bundle model building process and may be used as input to the spice cable bundle model building process. 
\item Spice models of specific cable bundle modelling configurations including length, incident field excitation, transfer impedance coupling and target spice version. These models will have an accompanying symbol corresponding to the target spice version and are created by the spice cable bundle model building process. These models may then be included in appropriate versions of Spice. 
\end{enumerate}

The library of cable models is a hierarchical structure, this structure reflects the manner in which the elements which go to create a spice cable bundle model are combined.

The library contains a directory of individual cable models ( \textbf{CABLE\_MODELS} ) e.g. single conductors, twisted pairs, coaxial cables, shielded twisted pairs etc. These cable models may be combined in any configuration, along with ground plane and overshield specifications to form a cable bundle model. A cable bundle model cantains all the information required to characterise a particular bundle configuration. Cable bundle models are kept in the directory \textbf{BUNDLE\_MODELS}. Cable bundle models are identified by a name provided by the user. A cable bundle may be applied in a range of modelling scenarios, each requiring a separate spice model due to differences in configuration (cable bundle length incident field excitation, transfer impedance coupling source and victim conductors etc.) Within the \textbf{BUNDLE\_MODELS} directory a sub-directory with the same name as the cable bundle model is created. This sub-directory contains all the Spice cable bundle models developed for the bundle.

An example of the library of cable models generated in the running of the test cases is shown in figure \ref{fig:MOD_structure} below.

%Include MOD structure figure here 

\begin{figure}[h]
\centering
\includegraphics[scale=0.5]{./Imgs/MOD_picture.jpg}
\caption{Structure of the library of cable models (MOD)}
\label{fig:MOD_structure}
\end{figure}

\section{Example of a Library of cable models}

%Include directory structure of MOD for the validation test cases here with notes.
%The picture is obtained with the unix command 'tree --charset=ascii MOD' run from the TEST_CASES directory 


An example of the library of cable models generated in the running of the test cases is shown in figure \ref{fig:MOD_structure} below.

\begin{verbatim}
MOD
|-- BUNDLE_MODELS
|   |-- 2_wire
|   |   |-- 2_wire_ac.lib
|   |   `-- 2_wire_trans.lib
|   |-- 2_wire.bundle
|   |-- two_wires_over_ground.bundle
|   |-- wire_over_ground
|   |   `-- wire_over_ground_ac.lib
|   `-- wire_over_ground.bundle
`-- CABLE_MODELS
    `-- single_wire.cable
\end{verbatim}


\section{Using MOD with different spice versions}

The software can produce spice sub-circuit models of transmission lines for three versions of Spice:
\begin{enumerate}
\item Ngspice
\item LTspice
\item Pspice 
\end{enumerate}

The file formats for the three spice versions differ so MOD can contain up to three different versions of the same Spice subcircuit model.

\cleardoublepage