[kepler-users] Blocks to be called just once with SDF
BARANA Oliviero 208302
Oliviero.BARANA at cea.fr
Fri Jul 9 09:10:54 PDT 2010
Thank you very much for your suggestions.
I'm already investigating the modal models.
Oliviero
-----Message d'origine-----
De : Christopher Brooks [mailto:cxh at eecs.berkeley.edu]
Envoyé : jeudi 8 juillet 2010 17:29
À : BARANA Oliviero 208302
Cc : kepler-users at kepler-project.org
Objet : Re: [kepler-users] Blocks to be called just once with SDF
Hi Oliviero,
See also
http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-dev/2010-April/017877.html
which suggests using sources that extend LimitedFiringCount and other ways to stop.
Edward's suggestion about using a modal model is the best solution though.
_Christopher
On 7/8/10 6:51 AM, Edward A. Lee wrote:
>
> You could use a Modal Model.
> See:
>
> http://www.eecs.berkeley.edu/Pubs/TechRpts/2009/EECS-2009-151.html
>
> Edward
>
>
> On 7/8/10 5:03 AM, BARANA Oliviero 208302 wrote:
>> Dear all,
>>
>> I'm rather new in the use of Kepler and I'm not so expert about
>> actors, directors and so on.
>>
>> I have the following problem.
>>
>> I have a workflow (with a feedback loop inside) which is being
>> executed a certain number of times depending on the value of a certain variable.
>> When this variable is higher than a predetermined value, the Stop
>> block is called and the workflow ends.
>>
>> I would like to execute a few blocks during the initialization phase,
>> just once, before the execution of my workflow, but I can't. The
>> problem is that these initalizing blocks are called each cycle and
>> not once and, since they are very demanding from a computing-time
>> point of view (access to a database to load signals), the overall
>> execution is slowed a lot.
>>
>> Is anyone aware of a method to have a few blocks called just once,
>> keeping in mind that I am using the SDF director (I put 0 in the
>> Iterations field since, as I said, the overall execution is stopped
>> by the Stop block)?
>>
>> Many thanks in advance for your help
>>
>> Oliviero
>>
>>
>>
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
More information about the Kepler-users
mailing list