Yeah, that corresponds to what @Raoul said first, but it does not cover the additional point of allocating college votes based on state population - although that gets you very close to nationwide proportional anyway.I haven't gone through this properly but this looks like something what you're looking for https://www.270towin.com/alternative-electoral-college-allocation-methods/