A method for determining an interior temperature input of a passenger compartment of a vehicle, said method comprising: - receiving a temperature operator input (T OI) indicative of a desired temperature; - receiving a time period operator input indicative of a desired time period during which said interior temperature input should be controlled in accordance with said temperature operator input, and - estimating a limit value (T LV) for said interior temperature input using a method for estimating a limit value for an interior temperature input of said passenger compartment of said vehicle, said vehicle comprising an energy storage source and a temperature control arrangement adapted to control the interior temperature of said passenger compartment of said vehicle on the basis of said interior temperature input, said temperature control arrangement being adapted to be powered by said energy storage source during at least one operating condition of said vehicle, said method for estimating said limit value (T LV) comprising: • using said time period operator input for determining a temperature control time period (Δt) during which said temperature control arrangement is intended to be powered by said energy storage source; • determining an ambient environment parameter indicative of the environment ambient of said vehicle during said temperature control time period (Δt); • determining a state of charge of said energy storage source at or before a starting time of said temperature control time period (Δt) and • determining said limit value (T LV) as the interior temperature input that can be used throughout said temperature control time period (Δt) on the basis of at least said temperature control time period (Δt), said ambient environment parameter and said state of charge, characterized in that said method further comprises: - determining which one of the temperature operator input (T OI) and the limit value (T LV) that will result in a largest remaining state of charge of said energy storage source at the end of said temperature control time period (Δt) and - setting the interior temperature input as the one of said temperature operator input and said limit value resulting in said largest remaining state of charge. - receiving a temperature operator input (T OI) indicative of a desired temperature; - receiving a time period operator input indicative of a desired time period during which said interior temperature input should be controlled in accordance with said temperature operator input, and - estimating a limit value (T LV) for said interior temperature input using a method for estimating a limit value for an interior temperature input of said passenger compartment of said vehicle, said vehicle comprising an energy storage source and a temperature control arrangement adapted to control the interior temperature of said passenger compartment of said vehicle on the basis of said interior temperature input, said temperature control arrangement being adapted to be powered by said energy storage source during at least one operating condition of said vehicle, said method for estimating said limit value (T LV) comprising: • using said time period operator input for determining a temperature control time period (Δt) during which said temperature control arrangement is intended to be powered by said energy storage source; • determining an ambient environment parameter indicative of the environment ambient of said vehicle during said temperature control time period (Δt); • determining a state of charge of said energy storage source at or before a starting time of said temperature control time period (Δt) and • determining said limit value (T LV) as the interior temperature input that can be used throughout said temperature control time period (Δt) on the basis of at least said temperature control time period (Δt), said ambient environment parameter and said state of charge, • using said time period operator input for determining a temperature control time period (Δt) during which said temperature control arrangement is intended to be powered by said energy storage source; • determining an ambient environment parameter indicative of the environment ambient of said vehicle during said temperature control time period (Δt); • determining a state of charge of said energy storage source at or before a starting time of said temperature control time period (Δt) and • determining said limit value (T LV) as the interior temperature input that can be used throughout said temperature control time period (Δt) on the basis of at least said temperature control time period (Δt), said ambient environment parameter and said state of charge, - determining which one of the temperature operator input (T OI) and the limit value (T LV) that will result in a largest remaining state of charge of said energy storage source at the end of said temperature control time period (Δt) and - setting the interior temperature input as the one of said temperature operator input and said limit value resulting in said largest remaining state of charge.