Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduced water/sewage/electricity at night when cims are sleeping? #11

Open
originalfoo opened this issue Jul 24, 2018 · 4 comments
Open

Comments

@originalfoo
Copy link
Member

Split out from #65 :

At night, I would expect water/sewage/electricity consumption to be much reduced, as many cims are sleeping and many workplaces (particularly farming/forestry which use huge amounts of water in particular) are closed for the night.

I tried setting my night time budget for those things much lower, but ended up with power outages, water shortrages, etc. The vanilla game does some reduction, but perhaps not enough.

dymanoid: This is something for another mod. There are other mods that change this (e.g. "Realistic Consumption" etc.), so I don't want to make Real Time incompatible with all those.

@dymanoid
Copy link
Collaborator

I still think it's out of scope for Real Time. With the sleep/awake setting, the night time in the game is decoupled from the sunset and sunrise, so any other mod can use this information and change the consumption accordingly.

@originalfoo
Copy link
Member Author

I agree, but...

RT is now keeping track of whether a building is empty, how many people are working each shift, when cims are sleeping, etc. Is it not the ideal place to calculate a more accurate energy/water/sewage amount at any given time?

To attempt that level of detail in an external mod would result in duplicate calculations (or at the very least duplicate iterations of the buildings). While I wouldn't expect the resource usage to update every frame - every 30 mins game time would suffice imo - it would still be clunky to implement in external mod.

@dymanoid
Copy link
Collaborator

dymanoid commented Aug 1, 2018

@aubergine10 , Real Time doesn't track whether buildings are empty. Neither it knows how many people are working each shift (it knows only the percentage). So for this consumption simulation to work, Real Time would need to be more detailed. That would automatically mean a huge performance drop (e.g. remember the Rush Hour II mod where the developer tried to keep track of the citizens for switching the lights off - that was a nightmare performance issue).

I don't think that the benefit of having such a feature can justify the performance issues (especially for large cities).

For a 'somewhat realistic consumption', there is such a mod already. So my thoughts are - drop it.

@originalfoo
Copy link
Member Author

Agreed

@dymanoid dymanoid transferred this issue from dymanoid/RealTime May 28, 2019
@dymanoid dymanoid reopened this May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants