docile-charge-point icon indicating copy to clipboard operation
docile-charge-point copied to clipboard

How can I add reservation and meter reading

Open meran opened this issue 2 years ago • 3 comments

Hi, I am using the example scale form the repo named continuous-remote-listening.scala

I was wondering, how I can add meter reading (estimation cost ) and printing the output ? I also found that in order to perform reservation I can use:

val resNum= expectIncoming(reserveNowReq.respondingWith(ReserveNowRes(Reservation.Accepted)))(noTimeout)
var reID= resNum.reservationId

The problem is that I want my simulator to be able to perform charging or reservation without prior preparation. How can I achieve it?

Do you have any relevant examples for that ? Thanks

meran avatar Jul 22 '21 13:07 meran