Hi Arpad, I suppose you refer to the third option. Combining a) and b) is fine, yet a reference to an .ami within [External Circuit] still needs to be clearly disallowed. Radek From: ibis-macro-bounce@xxxxxxxxxxxxx [mailto:ibis-macro-bounce@xxxxxxxxxxxxx] On Behalf Of Muranyi, Arpad Sent: Tuesday, September 03, 2013 10:49 AM To: ibis-macro@xxxxxxxxxxxxx Subject: [ibis-macro] Re: revision of BIRD155.1 - draft 6 uploaded Radek, I like the second option in red at the end. However, I think the a) and b) could be combined. What do you think about doing this: a) an [External Model] parameter may only reference an .ami file if the [Model] which contains the [External Model] keyword also contains an [Algorithmic Model] keyword pointing to the same .ami file b) only Usage In, Usage Info or Usage Dep parameters are allowed, c) if a parameter is of Usage Dep then its value, prior passing it into the external model, must be resolved by calling the AMI_Resolve function (see Section 10.2.3) of the DLL pointed by the [Algorithmic Model] keyword. Thanks, Arpad ========== From: radek_biernacki@xxxxxxxxxxx<mailto:radek_biernacki@xxxxxxxxxxx> [mailto:radek_biernacki@xxxxxxxxxxx] Sent: Tuesday, September 03, 2013 12:32 PM To: Muranyi, Arpad; ibis-macro@xxxxxxxxxxxxx<mailto:ibis-macro@xxxxxxxxxxxxx> Subject: RE: revision of BIRD155.1 - draft 6 uploaded Hi All, For today's (hopefully final) discussion on BIRD 155 please take look at the following three alternatives regarding our discussion on the external model/circuit use of the "Dep" parameters. We propose one of the following three versions to choose from: a. no change with respect to the latest draft, b. a small addition to the latest draft, When the extension of the external parameter's file name ends with .ami: a) in general, only Usage In or Usage Info are allowed for parameters which are to be passed into models instantiated by the [External Model] or the [External Circuit] keywords, b) for [External Model] models instantiated from within a [Model] that contains the [Algorithmic Model] keyword pointing to the same .ami file, parameters of Usage Dep are also allowed to be passed to such models. Before such Usage Dep parameters are passed, their values must be resolved by calling the AMI_Resolve function (see Section 10.2.3) of the DLL pointed by that [Algorithmic Model] keyword. c. allowing reference to an .ami file only in the context of AMI (and therefore [External Model] only) When the extension of the external parameter's file name ends with .ami: a) a reference to an .ami file is allowed only for parameters which are to be passed into models instantiated by the [External Model] keywords from within a [Model] that contains the [Algorithmic Model] keyword, b) the .ami parameter file pointed by the [Algorithmic Model] keyword must be the same as the external file being used for parameter passing, c) only Usage In, Usage Info or Usage Dep parameters are allowed, d) if a parameter is of Usage Dep then its value, prior passing it into the external model, must be resolved by calling the AMI_Resolve function (see Section 10.2.3) of the DLL pointed by the [Algorithmic Model] keyword. Radek