(insert:'Please enter a valid sender email address.'); /if; // split, check recipient emails if: var:'recipients' != ''; var:'recipient_emails' = $recipients->(split:','); if: $recipient_emails->size > 10; var:'error_text' = 'A maximum of 10 email addresses can be entered at once.'; $form_error->(insert: $error_text); /if; if: $recipient_emails->size > 0; iterate: $recipient_emails, var:'this_email'; $this_email->trim; if: !(valid_email: $this_email); var:'error_text' = '"' + $this_email + '" is not a valid email address.'; $form_error->(insert: $error_text); /if; /iterate; /if; /if; if: $form_error->size == 0; iterate: $recipient_emails, var:'this_email'; // email the alert /* NOTE: The \r\n\r\n characters create paragraph breaks in the email. If you include double quotes in the body of the email, escape them by placing a backslash right in front of them. So "quoted text" would become \"quoted text\". */ var:'email_subject' = 'Flex Alert Declared: Save Energy NOW!'; var:'email_body' = "This Flex Alert was sent to you by: " + $this_email + "\r\n\r\n***************************************\r\n\r\nThe California Independent System Operator (CAISO), charged with managing the electricity grid in California, has issued a Flex Alert for Tuesday, July 8th 7:00 AM through Thursday, July 10th 7:00 PM. It's urgent that you:\r\n\r\n- Turn off all unnecessary lights\r\n- If you must use an air conditioner, turn it up to 78 degrees or higher\r\n- Postpone using major appliances until after 7:00 PM\r\n\r\nFor updates, please visit www.FlexYourPower.org. We ask that you pass this e-mail along to your colleagues.\r\n\r\nAnd thanks for Flexing Your Power."; // send email... email_send: -to=(var:'this_email'), -from=(var:'sender'), -subject=(var:'email_subject'), -body=(var:'email_body'); /iterate; // log to database local:'dynamic_params' = (array); var:'number_recipients' = $recipient_emails->size; #dynamic_params->(Insert: 'number_recipients' = var:'number_recipients'); #dynamic_params->(Insert: 'sender_email' = var:'sender'); #dynamic_params->(Insert: 'recipient_emails' = var:'recipients'); #dynamic_params->(Insert: 'web_source' = 'Send Flex Alert'); inline: -add, -database='fyp_users', -layout='email_story_web', -NoValueLists, ($gl_up_var), // db user/pass provided here... (#dynamic_params); if: error_currenterror != "No Error"; var:'error_email_body' = '*** THIS IS AN AUTOMATICALLY GENERATED MESSAGE ***\r\n\r\n' + error_currenterror + '\r\n\r\n' + local:'dynamic_params'; email_send: -to=(var:'admin_email'), -from=(var:'admin_email'), -subject='Rescued Send Flex Alert Record', -body=(var:'error_email_body'); else; // DB insert succeeded, redirect with thanks message. var:'url' = 'index.html?success=true'; redirect_url: $url; /if; /inline; /if; /if; // set the page title var:'page_title' = "Flex Alerts and Demand Response"; // set nav & sector flags var:'main_nav' = 'none'; var:'current_section' = 'overview'; // additional stylesheets var:'stylesheets' = (array: (map:'path' = '/css/v2/now.css', 'media' = 'all'), (map:'path' = '/css/v2/formfeedback.css', 'media' = 'all') ); // include site header var:'panorama' = 'now-grid.html'; include: '/includes/sitewide/header/header-override.html'; ?>
[include: '/includes/sitewide/secondary-nav/now-tools.html'] [include: '/includes/sitewide/secondary-nav/now-topics.html'] [include: '/includes/sitewide/highlighted-resources/energy-tip-cards.html']
[if: var:'flexalert_active' == 'true']

Flex Alert Declared

Due to the current hot weather, electricity conservation is necessary. As a result, state officials have called a Flex Alert.

[else]

Flex Alerts

What is a Flex Alert?

A Flex Alert is an urgent call for California businesses, governments and residents to voluntarily reduce their electricity use. The alert is used to prevent Stage 1 Electrical Emergencies - times when the demand for electricity is at its peak, typically during very hot weather.

[/if]
[if: var:'flexalert_active' == 'true'] [if: var:'success'] [else: (var:'form_error')->size > 0] [/if]

Real-time Energy Updates

System status graph

For a more detailed look at today's outlook, please visit the California ISO's System Status page.

Send the Alert to a Friend

[/if]

When a Flex Alert is Issued, What Can I Do?

At home and at work, follow the three Flex Alert measures:

  1. Turn off all unnecessary lights, computers and appliances.
  2. Postpone using major appliances until after 7 p.m.
  3. Turn your air conditioning thermostat to 78° F or higher.

Sign-up to receive Flex Alert notifications via email and on your mobile phone.

When a Flex Alert is called, we'll notify you via email or text message so you can take action to conserve energy when California needs it most.

» Sign-up now!

Can your organization distribute Flex Alert notifications to its employees?

When a Flex Alert is called, Flex Alert Network partners agree to send a notification email out to their employees that includes breaking news and peak conservation tips.

» Join the Network!

[output_none]

» [noprocess][/noprocess]

[/output_none]

More Ways You Can Save Energy During a Flex Alert

Read our energy conservation tips for:

How Does a Flex Alert Work?

  • The California ISO monitors and provides early warnings of possible electricity outages, which allow the public to better prepare for service interruptions and encourages energy conservation that may help prevent blackouts from occurring. Take a look at Today's Outlook.
  • When current system conditions and forecasted demand indicate immediate conservation is needed, the ISO issues a Flex Alert. See the Flex Alert Release (PDF) for Friday, September 8, 2011.
  • Businesses, governments and residents are notified through media and email to reduce use.
  • When possible, Alerts are regionally targeted to where the system is stressed.
  • All Californians are asked to reduce their use of lighting, adjust their air conditioning thermostat to 78° F or higher and postpone using major appliances until after 7 p.m.

Why Would Electrical Power Reserves Be Low?

Reasons for low reserves may include:

  • High peak demand
  • Unplanned generation outages
  • Transmission line overloads, losses, or limitations that can sometimes occur as a result of fires
  • Adverse, hot weather

Does Conservation Work?

Yes! Read about how conservation helped bring down record-breaking demand on Monday, July 24, 2006. (PDF)

Sign-up for Demand Response Programs offered by your utility

Demand Response Programs typically provide incentives and other benefits to customers who can reduce their power when energy supplies are low. These programs help ensure reliable and affordable power for all Californians and are available to most commercial customers and some residential customers. View the utility-offered Demand Response Programs to find a program for your company.

Historical Records - Past Flex Alerts

Find out when, where and why Flex Alerts were called since 2004.