While there is some behaviour in The Sims 4 that defines a loose "schedule" regarding sleep, I've always found Sims' sleeping habits to be erratic, unreliable, and boring. This mod changes that by enforcing stricter schedules and making a Sim's traits, moods, and lifeskills affect their sleeping autonomy.

Currently 5 modules are available and can be mixed and matched as desired. (Main is always required!)

Main, Wake Up, Morning & Night, and Moods require the base game only. Life Skills requires the Parenthood gamepack.
------------------------------------------------------------------------------------------------------------------
Installation : Unzip and drag the package files and TS4script files into your Sims 4 Mods directory. (Important! TS4 Script files can only be one folder deep.)
------------------------------------------------------------------------------------------------------------------
Better Sleep Autonomy - Moods
Expansion module for Better Sleep Autonomy . This mod causes a Sim's moods to affect their sleeping behaviour in the following ways:
⦁ Children and Childish Sims won't autonomously sleep when playful, energized, or scared.
⦁ Teens, Perfectionists, and Outgoing Sims won't autonomously sleep when embarrassed.
⦁ Children, Teens, and Hot-Headed Sims won't autonomously sleep when angry.
⦁ Adults, Perfectionists, and Ambitious Sims won't autonomously sleep when stressed. 
⦁ Genius Sims won't autonomously sleep when focused.
⦁ Creative Sims won't autonomously sleep when inspired.
⦁ Romantic Sims won't autonomously sleep when flirty.
⦁ Gloomy Sims won't autonomously sleep when sad.
⦁ Active Sims won't autonomously sleep when energized.

 If used in combination with Life Skills, a Sim's responsibility and emotional control will further influence how much effect moods have on individual Sims. 

Compatibility / Requirements : This module (Moods) requires only the basegame. Should be compatible with all other mods. 
Tested with game version 1.80.69. 

=========================================
Modules:
Better Sleep Autonomy - Wake Up
Better Sleep Autonomy - Morning & Night
Better Sleep Autonomy - Life Skills
Better Sleep Autonomy - Moods

Future Plans:
⦁Add a module for toddlers.
⦁Add a module for vampires.
========================================
Feel free to leave feedback and suggestions!

If you'd like to support my modding efforts, it would be greatly appreciated.
https://ko-fi.com/mokunoid