Hi guys,

 

Anyone knows what is an async error  as follows?

 

Async Error: Jess reported an error in routine Funcall.execute

            while executing (SetPoint (setpoint ?value))

            while executing deffunction too-cold

            while executing (too-cold ?t)

            while executing rule LHS (TEQ)

            while executing rule LHS (TECT).

 

This is regarding the HVAC simulation.

What I did was I changed the ?*set-point* parameter to a bean.

That is, I want to dynamically change the set point of the simulation from the java infrastructure (I thought it would be more realistic that way).

I made SetPoint as a defclass and subsequently definstance instead.

 

The error seems to come from

 

(deffunction too-cold (?t)

            (SetPoint (setpoint ?value)) 

            (return (< ?t (- ?value 2))))

 

I think my understanding of some jess issues must be faulty.

Would appreciate any advice and pointers.

 

 

Regards

David

 

Reply via email to