Subject: Re: Reference Terminal Clarification
From: Shishir Agrawal (sagrawal@ECECS.UC.EDU)
Date: Fri Jan 25 2002 - 10:20:32 PST
Hi,
This is my understanding on the issue raised by you.
Section 4.8 of the LRM states that " A scalar nature declaration
implicitly declares the reference terminal of its simple nature. For
any nature name N , an attribute name of the form N'reference denotes
the reference terminal of the simple nature of N. It is a consequence of
this rule that N'Reference denotes a scalar terminal"
So you do have a N'Reference attribute to access the reference terminal of
a nature.
Also in your example you could declare the quantity using elec'reference
instead of gnd.
I think N'Reference is not documented in Section 14 of the LRM which lists
predefined language environment. I think it probably needs to be added
there.
Regards
-Shishir.
__/_/_____________________________________________\_\___
__|_ _|__
(___O) Shishir Agrawal (O___)
(_____O) Research Assistant, (O_____)
(_____O) Distributed Processing Lab, (O_____)
(__O) ECECS Department, (O__)
| University of Cincinnati |
| Ohio, USA. |
|........................................................|
| phone: (513) 556-7490 |
| email: sagrawal@ececs.uc.edu |
| shishiragrawal@hotmail.com |
|________________________________________________________|
On Fri, 25 Jan 2002, Ramesh Mayiladuthurai wrote:
>
> Working Group,
>
>
> I would like to get a clarification on the usage of "reference"
> terminal of a nature.
>
> The LRM, sec 3.5(.1) states that
>
> "A nature defines values that may be accessed through the
> attributes of a terminal. These attributes include its
> compatibility with other terminals, the reference terminal of
> the nature, and its across type and through type .... "
>
> "A scalar nature definition defines a scalar nature, its
> branch types, and the name of its reference terminal"
>
> 1. There are attributes 'across and 'through that can access the
> across and through types of a nature but there is none defined
> that can access the "reference" terminal of a nature.
>
> 2. Does the appearence of reference terminal "name" in a nature
> definition imply an implicit terminal "declaration" ? If that is
> true, what would be the nature of this "reference" terminal ?
>
> 3. Continuing from the previous query, is it valid to declare
> something like ...
>
> ---------------------------------------------------------
> nature elect is volt across current through gnd reference;
>
> terminal t1: elect;
>
> quantity q1 across gnd to t1; -- Is this a valid declaration ?
> ---------------------------------------------------------
>
> Thanks for your help in clarifying the same.
>
> regards,
>
> Ramesh
>
This archive was generated by hypermail 2b28 : Fri Jan 25 2002 - 10:59:05 PST