ARRRGGGGHHH tikz with a spelling mistake,

errors are so difficult to find
This commit is contained in:
Robin Clark 2011-06-12 13:52:21 +01:00
parent dd66f7af4c
commit 9daaea00f0

View File

@ -403,7 +403,7 @@ we can assign the failure modes of $OPEN$ and $SHORT$ to each of the resistors.
This is shown as a graph in figure \ref{fig:rdag}. This is shown as a graph in figure \ref{fig:rdag}.
%\ifthenelse {\boolean{dag}} %\ifthenelse {\boolean{dag}}
{ %{
We can now represent a resistor in terms of its failure modes as a directed acyclic graph (DAG) We can now represent a resistor in terms of its failure modes as a directed acyclic graph (DAG)
(see figure \ref{fig:rdag}). (see figure \ref{fig:rdag}).
\begin{figure}[h+] \begin{figure}[h+]
@ -424,7 +424,7 @@ We can now represent a resistor in terms of its failure modes as a directed acyc
\caption{DAG representing a reistor and its failure modes} \caption{DAG representing a reistor and its failure modes}
\label{fig:rdag} \label{fig:rdag}
\end{figure} \end{figure}
} %}
%{ %{
%} %}
Thus or the potential divider in the circuit in figure~\ref{fig:pd}, Thus or the potential divider in the circuit in figure~\ref{fig:pd},
@ -432,59 +432,17 @@ $R1$ has failure modes $\{R1\_OPEN, R1\_SHORT\}$ and $R2$ has failure modes $\{R
%\clearpage %\clearpage
\section{Failure Mode Analysis of the Potential Divider} \paragraph{Failure Mode Analysis of the Potential Divider}
%\ifthenelse {\boolean{dag}} %\ifthenelse {\boolean{dag}}
{ %{
Modelling the two resistors as a functional group, we present this as a directed graph. Modelling the two resistors as a functional group, we present this as a directed graph.
%failure modes, taken from the components R1 and R2, %failure modes, taken from the components R1 and R2,
%in the potential divider, shown %in the potential divider, shown
in figure \ref{fig:fg1dag}. in figure \ref{fig:fg1dag}.
\begin{figure}
\centering
\begin{tikzpicture}[shorten >=1pt,->,draw=black!50, node distance=\layersep]
\tikzstyle{every pin edge}=[<-,shorten <=1pt]
\tikzstyle{fmmde}=[circle,fill=black!25,minimum size=30pt,inner sep=0pt]
\tikzstyle{component}=[fmmde, fill=green!50];
\tikzstyle{failure}=[fmmde, fill=red!50];
\tikzstyle{symptom}=[fmmde, fill=blue!50];
\tikzstyle{annot} = [text width=4em, text centered]
\node[component] (R1) at (0,-4) {$R_1$};
\node[component] (R2) at (0,-6) {$R_2$};
\node[failure] (R1SHORT) at (\layersep,-2) {$R1_{SHORT}$};
\node[failure] (R1OPEN) at (\layersep,-4) {$R1_{OPEN}$};
\node[failure] (R2SHORT) at (\layersep,-6) {$R2_{SHORT}$};
\node[failure] (R2OPEN) at (\layersep,-8) {$R2_{OPEN}$};
\path (R1) edge (R1SHORT);
\path (R1) edge (R1OPEN);
\path (R2) edge (R2SHORT);
\path (R2) edge (R2OPEN);
% Potential divider failure modes
%
%\node[symptom] (PDHIGH) at (\layersep*2,-4) {$PD_{HIGH}$};
%\node[symptom] (PDLOW) at (\layersep*2,-6) {$PD_{LOW}$};
%\path (R1OPEN) edge (PDHIGH);
%\path (R2SHORT) edge (PDHIGH);
%\path (R2OPEN) edge (PDLOW);
%\path (R1SHORT) edge (PDLOW);
\end{tikzpicture}
\caption{DAG representing the functional group `Potential Divider'}
\label{fig:fg1dag}
\end{figure}
}
%{
%}
We can now look at each of these base component failure modes, We can now look at each of these base component failure modes,
and determine how they will affect the operation of the potential divider. and determine how they will affect the operation of the potential divider.
@ -521,7 +479,7 @@ This is represented in the DAG in figure \ref{fig:fg1adag}.
\tikzstyle{every pin edge}=[<-,shorten <=1pt] \tikzstyle{every pin edge}=[<-,shorten <=1pt]
\tikzstyle{fmmde}=[circle,fill=black!25,minimum size=30pt,inner sep=0pt] \tikzstyle{fmmde}=[circle,fill=black!25,minimum size=30pt,inner sep=0pt]
\tikzstyle{component}=[fmmde, fill=green!50]; \tikzstyle{component}=[fmmde, fill=green!50];
\tikzstyle{faitinylure}=[fmmde, fill=red!50]; \tikzstyle{failure}=[fmmde, fill=red!50];
\tikzstyle{symptom}=[fmmde, fill=blue!50]; \tikzstyle{symptom}=[fmmde, fill=blue!50];
\tikzstyle{annot} = [text width=4em, text centered] \tikzstyle{annot} = [text width=4em, text centered]