Ct changing

This commit is contained in:
SongQi 2023-02-17 17:06:23 +08:00
parent 2dce79d5d7
commit c21fdd1e51
1 changed files with 2 additions and 2 deletions

4
env.py
View File

@ -66,7 +66,7 @@ class Env(ap.Model):
self.t = 0 self.t = 0
def update_e_revenue(self): def update_e_revenue(self):
self.e_revenue += 0.01 * self.e_revenue self.e_revenue += 0.0027 * self.e_revenue
def step(self): def step(self):
self.update_e_revenue() self.update_e_revenue()
@ -90,7 +90,7 @@ class Env(ap.Model):
# self.picture_out() # self.picture_out()
self.update() self.update()
if self.t >= 200: if self.t >= 500:
self.running = False self.running = False
self.stop() self.stop()
else: else: