From 9daaea00f05306ae1b920874267d8940ab47a0ce Mon Sep 17 00:00:00 2001 From: Robin Clark Date: Sun, 12 Jun 2011 13:52:21 +0100 Subject: [PATCH] ARRRGGGGHHH tikz with a spelling mistake, errors are so difficult to find --- .../System_safety_2011/submission.tex | 52 ++----------------- 1 file changed, 5 insertions(+), 47 deletions(-) diff --git a/fmmd_concept/System_safety_2011/submission.tex b/fmmd_concept/System_safety_2011/submission.tex index bfcd076..4cab1b7 100644 --- a/fmmd_concept/System_safety_2011/submission.tex +++ b/fmmd_concept/System_safety_2011/submission.tex @@ -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}. %\ifthenelse {\boolean{dag}} -{ +%{ We can now represent a resistor in terms of its failure modes as a directed acyclic graph (DAG) (see figure \ref{fig:rdag}). \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} \label{fig:rdag} \end{figure} -} +%} %{ %} 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 -\section{Failure Mode Analysis of the Potential Divider} +\paragraph{Failure Mode Analysis of the Potential Divider} %\ifthenelse {\boolean{dag}} -{ +%{ Modelling the two resistors as a functional group, we present this as a directed graph. %failure modes, taken from the components R1 and R2, %in the potential divider, shown 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, 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{fmmde}=[circle,fill=black!25,minimum size=30pt,inner sep=0pt] \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{annot} = [text width=4em, text centered]