################################################################################
# FICHE DE MODELE SABER : ED:1 REV:0
# AUTEUR:OCSIMIZE DATE:8/10/01
#
# FICHIER short_oc.sin : ind. a du 02/11/04
# ETAT : valid
################################################################################
#==============================================================================#
element template short_oc ci p m
#==============================================================================#
################################################################################
# Copyright 2004 to infinity and beyond..., Ocsimize.
# This template may not be reproduced or modified
# without permission from Ocsimize. Ocsimize does not assume
# liability for the use of this template or the results
# obtained from using it as long as it is not validated by the final user.
# Usage of this template is allowed for customers of Ocsimize's customers
################################################################################
################################################################################
#
# MODIFICATION
#
# 02/11/04: creation
################################################################################
#
# pins
#
################################################################################
# Name Type Signification
#
# p electrical current input
# m electrical current output
# ci var i current measure
#
################################################################################
#
# Parameters definition
#
################################################################################
# Name Default value Signification
#
# - - -
#
################################################################################
#
# Postprocess information
#
################################################################################
# Name Unit Signification
#
# v V voltagedifference
#
################################################################################
#
# usage
#
################################################################################
#
# This template allow to probe the current as a voltage
# in SaberScope.
#
#
# o (p)
# |
# --
# | |
# | |---o (ci) where ci = i
# | |
# --
# |
# o (m)
#
################################################################################
# Notes :
################################################################################
#
#
#
################################################################################
var i ci
electrical p,m
#
#---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
{
val v v
#
#---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
values {
v = v(p) - v(m)
}
#
#---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
equations {
i(p) += ci
i(m) -= ci
ci : v = 0
}
}