def model_cs_id_list(cursor, model_name):
    """Get a list of ``cs_id``'s for a model in a NEPC database.

    Parameters
    ----------
    cursor : cursor.MySQLCursor
        A MySQLCursor object. See return value ``cursor`` of :func:`.connect`.
    model_name : str
        Name of a model in the NEPC MySQL database

    Returns
    -------
    cs_id_list : list of int
        cs_id's corresponding to cross sections in the model

    """
    cursor.execute("SELECT cs.cs_id as cs_id " +
                   "FROM cs " +
                   "JOIN models2cs m2cs ON (cs.cs_id = m2cs.cs_id) " +
                   "JOIN models m ON (m2cs.model_id = m.model_id) " +
                   "WHERE m.name LIKE '" + model_name + "'")
    cs_id_list = cursor.fetchall()
    cs_id_list = [cs_id[0] for cs_id in cs_id_list]
    return cs_id_list